Spaces:
Sleeping
Sleeping
Update demo project.py
Browse files- demo project.py +1 -1
demo project.py
CHANGED
|
@@ -85,7 +85,7 @@ def relevant_assigner(state:State):
|
|
| 85 |
else:
|
| 86 |
return 'END'
|
| 87 |
|
| 88 |
-
|
| 89 |
yield gr.update(visible=True), ""
|
| 90 |
mess = {'query':query, 'vectorstoredb': vect, 'company_description': dec}
|
| 91 |
res = graph.invoke(mess)
|
|
|
|
| 85 |
else:
|
| 86 |
return 'END'
|
| 87 |
|
| 88 |
+
def chat(query, vect, dec):
|
| 89 |
yield gr.update(visible=True), ""
|
| 90 |
mess = {'query':query, 'vectorstoredb': vect, 'company_description': dec}
|
| 91 |
res = graph.invoke(mess)
|