Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -376,7 +376,7 @@ class ManualChatbot:
|
|
| 376 |
return "ใใฃใใใใใใใพใ ๅๆๅใใใฆใใพใใใใใกใคใซใใขใใใญใผใใใฆใใ ใใใ", ""
|
| 377 |
|
| 378 |
try:
|
| 379 |
-
result = self.qa_chain.invoke({"
|
| 380 |
|
| 381 |
# ๅ็ญใฎๅๅพ
|
| 382 |
if "result" in result:
|
|
|
|
| 376 |
return "ใใฃใใใใใใใพใ ๅๆๅใใใฆใใพใใใใใกใคใซใใขใใใญใผใใใฆใใ ใใใ", ""
|
| 377 |
|
| 378 |
try:
|
| 379 |
+
result = self.qa_chain.invoke({"query": question}) #({"question": question})
|
| 380 |
|
| 381 |
# ๅ็ญใฎๅๅพ
|
| 382 |
if "result" in result:
|