Almaatla commited on
Commit
1665acb
·
verified ·
1 Parent(s): 4ba5a82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def merge_txt_to_db(filename,db,progress,progress_step=0.1):
136
  progress(progress_step,'txt unpacked')
137
  return merge_split_docs_to_db(split_docs,db,progress,progress_step)
138
 
139
- def unpack_zip_file(filename,db,progress):
140
  with ZipFile(filename, 'r') as zipObj:
141
  contents = zipObj.namelist()
142
  print(f"unpack zip: contents: {contents}")
 
136
  progress(progress_step,'txt unpacked')
137
  return merge_split_docs_to_db(split_docs,db,progress,progress_step)
138
 
139
+ def unpack_zip_file(filename:str,db:FAISS,progress):
140
  with ZipFile(filename, 'r') as zipObj:
141
  contents = zipObj.namelist()
142
  print(f"unpack zip: contents: {contents}")