shoom013 commited on
Commit
567ed85
1 Parent(s): d4e20bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def rag(input_text, history, jezik):
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),
160
  # outputs=[gr.Textbox(label="Odgovor:", lines=6)],
 
154
  # input_text += " - odgovori " + o_jezik + "."
155
  # return query_engine.query(input_text)
156
  response = chat_engine.chat(input_text).response
157
+ return response
158
  # Interface
159
  # gr.Textbox(label="Pitanje:", lines=6),
160
  # outputs=[gr.Textbox(label="Odgovor:", lines=6)],