Chris4K commited on
Commit
9177f24
·
verified ·
1 Parent(s): 7bf19da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def calculate_statistics(embeddings):
100
  return {"tokens": len(embeddings), "time_taken": time.time()}
101
 
102
  import shutil
103
- def upload_file(file, model_name, split_strategy, chunk_size=100, overlap_size=0, max_tokens, query, top_k):
104
  # Create the full destination file path
105
  #file_path = os.path.join(FILES_DIR, file.name)
106
 
 
100
  return {"tokens": len(embeddings), "time_taken": time.time()}
101
 
102
  import shutil
103
+ def upload_file(file, model_name, split_strategy, chunk_size=100, overlap_size=0, max_tokens=100, query="Who is Christof", top_k=2):
104
  # Create the full destination file path
105
  #file_path = os.path.join(FILES_DIR, file.name)
106