shoom013 commited on
Commit
d4e20bb
1 Parent(s): 13939ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def rag(input_text, history, jezik):
153
  # if (o_jezik!='N/A'):
154
  # input_text += " - odgovori " + o_jezik + "."
155
  # return query_engine.query(input_text)
156
- response = chat_engine.chat(input_text)
157
  return history + [[input_text, response]]
158
  # Interface
159
  # gr.Textbox(label="Pitanje:", lines=6),
 
153
  # if (o_jezik!='N/A'):
154
  # input_text += " - odgovori " + o_jezik + "."
155
  # return query_engine.query(input_text)
156
+ response = chat_engine.chat(input_text).response
157
  return history + [[input_text, response]]
158
  # Interface
159
  # gr.Textbox(label="Pitanje:", lines=6),