magehunter45 commited on
Commit
dd0bfe6
·
1 Parent(s): 587dbb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -72,9 +72,7 @@ def infer(question, history):
72
 
73
  chat_history = res
74
  #print(chat_history)
75
- query = question + ". Please include response to the question in two languages in the following format \
76
- English: \
77
- Chinese (Simplified):"
78
  result = qa({"question": query, "chat_history": chat_history})
79
  #print(result)
80
  return result["answer"]
 
72
 
73
  chat_history = res
74
  #print(chat_history)
75
+ query = question
 
 
76
  result = qa({"question": query, "chat_history": chat_history})
77
  #print(result)
78
  return result["answer"]