Fix wget download updated parameters (#538)

pull/548/head
Michael Yuan 1 year ago committed by GitHub
parent de3bd58434
commit 6798e1ca3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ def download_wikipedia_data(
else: else:
print("File not found, downloading now...") print("File not found, downloading now...")
# Download the data # Download the data
wget.download(data_url, out=download_path, bar=True) wget.download(data_url, out=download_path)
# Unzip the data # Unzip the data
with zipfile.ZipFile(zip_file_path, 'r') as zip_ref: with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:

Loading…
Cancel
Save