Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ import gradio as gr
|
|
| 66 |
def chat_with_ai(user_input, chat_history):
|
| 67 |
if is_greeting(user_input):
|
| 68 |
response = chat_engine.chat(user_input)
|
| 69 |
-
chat_history.append((user_input,
|
| 70 |
return chat_history, ""
|
| 71 |
response = chat_engine.chat(user_input)
|
| 72 |
references = response.source_nodes
|
|
|
|
| 66 |
def chat_with_ai(user_input, chat_history):
|
| 67 |
if is_greeting(user_input):
|
| 68 |
response = chat_engine.chat(user_input)
|
| 69 |
+
chat_history.append((user_input, response))
|
| 70 |
return chat_history, ""
|
| 71 |
response = chat_engine.chat(user_input)
|
| 72 |
references = response.source_nodes
|