Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -79,8 +79,8 @@ try:
|
|
79 |
db = Chroma(
|
80 |
persist_directory=CHROMA_PATH, embedding_function=custom_embeddings
|
81 |
)
|
82 |
-
except:
|
83 |
-
|
84 |
|
85 |
|
86 |
def embeddingGen(query):
|
|
|
79 |
db = Chroma(
|
80 |
persist_directory=CHROMA_PATH, embedding_function=custom_embeddings
|
81 |
)
|
82 |
+
except Exception as e:
|
83 |
+
print("Error in database :",str(e))
|
84 |
|
85 |
|
86 |
def embeddingGen(query):
|