From 6798e1ca3a404e95300642e2777d0e6da34ca177 Mon Sep 17 00:00:00 2001 From: Michael Yuan Date: Mon, 26 Jun 2023 04:45:57 -0400 Subject: [PATCH] Fix wget download updated parameters (#538) --- examples/vector_databases/redis/nbutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vector_databases/redis/nbutils.py b/examples/vector_databases/redis/nbutils.py index bd3dd5a..6e13ada 100644 --- a/examples/vector_databases/redis/nbutils.py +++ b/examples/vector_databases/redis/nbutils.py @@ -23,7 +23,7 @@ def download_wikipedia_data( else: print("File not found, downloading now...") # Download the data - wget.download(data_url, out=download_path, bar=True) + wget.download(data_url, out=download_path) # Unzip the data with zipfile.ZipFile(zip_file_path, 'r') as zip_ref: @@ -43,4 +43,4 @@ def read_wikipedia_data(data_path: str = '../../data/', file_name: str = "vector data['content_vector'] = data.content_vector.apply(literal_eval) # Set vector_id to be a string data['vector_id'] = data['vector_id'].apply(str) - return data \ No newline at end of file + return data