Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def generate_response(instruction,chat_history):
|
|
| 48 |
|
| 49 |
def generate_response_rag_index(instruction,chat_history):
|
| 50 |
response = query_engine.query(instruction)
|
| 51 |
-
return response
|
| 52 |
|
| 53 |
|
| 54 |
def update_chat_history(chat_history, user_message, bot_message):
|
|
|
|
| 48 |
|
| 49 |
def generate_response_rag_index(instruction,chat_history):
|
| 50 |
response = query_engine.query(instruction)
|
| 51 |
+
return str(response)
|
| 52 |
|
| 53 |
|
| 54 |
def update_chat_history(chat_history, user_message, bot_message):
|