Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def stream_chat_with_rag(
|
|
| 39 |
conversation += f"User: {user_input}\nAssistant: {assistant_response}\n"
|
| 40 |
conversation += f"User: {message}\nAssistant:"
|
| 41 |
question = message
|
| 42 |
-
answer
|
| 43 |
# debug 092624
|
| 44 |
print("The Answer in stream_chat_with_rag:")
|
| 45 |
print(answer)
|
|
|
|
| 39 |
conversation += f"User: {user_input}\nAssistant: {assistant_response}\n"
|
| 40 |
conversation += f"User: {message}\nAssistant:"
|
| 41 |
question = message
|
| 42 |
+
answer = client.predict(question=question, api_name="/answer_with_rag")
|
| 43 |
# debug 092624
|
| 44 |
print("The Answer in stream_chat_with_rag:")
|
| 45 |
print(answer)
|