minhdang14902 commited on
Commit
66aca7d
·
verified ·
1 Parent(s): 1dbd639

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -97,9 +97,7 @@ def get_response(text):
97
  st.subheader("The Answer is:")
98
  st.write(text)
99
  answer = chatPhobert(text)
100
- result = answer[0]['answer']
101
- if result == "":
102
- return context
103
  return result
104
 
105
  if st.button("Chat!"):
 
97
  st.subheader("The Answer is:")
98
  st.write(text)
99
  answer = chatPhobert(text)
100
+ result = answer
 
 
101
  return result
102
 
103
  if st.button("Chat!"):