Spaces:
Running
Running
Update retrival.py
Browse files- retrival.py +1 -1
retrival.py
CHANGED
@@ -415,7 +415,7 @@ def generate_data_store(file_path, db_name):
|
|
415 |
|
416 |
try:
|
417 |
#asyncio.run(save_to_chroma(save_to_chroma(chunks, db_name, table_document)))
|
418 |
-
asyncio.run(save_to_chroma(chunks, db_name)
|
419 |
print(f"Data saved to Chroma for database {db_name}.")
|
420 |
except Exception as e:
|
421 |
print(f"Error saving to Chroma: {e}")
|
|
|
415 |
|
416 |
try:
|
417 |
#asyncio.run(save_to_chroma(save_to_chroma(chunks, db_name, table_document)))
|
418 |
+
asyncio.run(save_to_chroma(chunks, db_name))
|
419 |
print(f"Data saved to Chroma for database {db_name}.")
|
420 |
except Exception as e:
|
421 |
print(f"Error saving to Chroma: {e}")
|