Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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)],
|