Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def respond(
|
|
54 |
print(dic)
|
55 |
messages.add_message(dic)
|
56 |
|
57 |
-
stream = agent.get_chat_response(message, llm_sampling_settings=settings,
|
58 |
|
59 |
outputs = ""
|
60 |
for output in stream:
|
|
|
54 |
print(dic)
|
55 |
messages.add_message(dic)
|
56 |
|
57 |
+
stream = agent.get_chat_response(message, llm_sampling_settings=settings, returns_streaming_generator=True, print_output=False)
|
58 |
|
59 |
outputs = ""
|
60 |
for output in stream:
|