Chris4K commited on
Commit
42cae1e
·
verified ·
1 Parent(s): 5f034fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def upload_file(file, model_name, split_strategy, overlap_size,chunk_size, max_
137
  shutil.copyfile(file_path, destination_path) # Use shutil to copy the file
138
 
139
  # Process files and get embeddings
140
- embeddings, chunks = process_files(model_name, split_strategy, chunk_size, overlap_size, max_tokens)
141
 
142
  # Perform search
143
  results = search_embeddings(query, model_name, top_k)
 
137
  shutil.copyfile(file_path, destination_path) # Use shutil to copy the file
138
 
139
  # Process files and get embeddings
140
+ embeddings, chunks = process_files(model_name, split_strategy, 120, 0, max_tokens)
141
 
142
  # Perform search
143
  results = search_embeddings(query, model_name, top_k)