alexanderHSG commited on
Commit
54b84c1
·
1 Parent(s): 3686f34
Files changed (2) hide show
  1. .gitignore +1 -0
  2. app.py +1 -1
.gitignore CHANGED
@@ -1,3 +1,4 @@
1
 
2
  *.env
3
  requirementsforenv.txt
 
 
1
 
2
  *.env
3
  requirementsforenv.txt
4
+ all_talks.db
app.py CHANGED
@@ -222,7 +222,7 @@ def fetch_embeddings(driver):
222
  try:
223
  result = session.run(query)
224
  except Exception as e:
225
- raise gr.Error("Connection to the GraphDatabase failed, please try again in a few seconds! This is probably temporary.", duration=5)
226
 
227
  for record in result:
228
  embeddings[record['id']] = np.array(record['embedding'])
 
222
  try:
223
  result = session.run(query)
224
  except Exception as e:
225
+ raise gr.Error("Connection to the GraphDatabase failed, please try again in a few seconds! This is probably temporary.", duration=7)
226
 
227
  for record in result:
228
  embeddings[record['id']] = np.array(record['embedding'])