YO-LOLO commited on
Commit
8bc4508
ยท
verified ยท
1 Parent(s): 27b4e03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -376,7 +376,7 @@ class ManualChatbot:
376
  return "ใƒใƒฃใƒƒใƒˆใƒœใƒƒใƒˆใŒใพใ ๅˆๆœŸๅŒ–ใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ใƒ•ใ‚กใ‚คใƒซใ‚’ใ‚ขใƒƒใƒ—ใƒญใƒผใƒ‰ใ—ใฆใใ ใ•ใ„ใ€‚", ""
377
 
378
  try:
379
- result = self.qa_chain.invoke({"question": question}) #({"query": question})
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: