Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -197,8 +197,7 @@ def chat(message, history):
|
|
197 |
if result:
|
198 |
print("## result")
|
199 |
print(result)
|
200 |
-
thread
|
201 |
-
create_message(client, thread, results[0] + " " + message)
|
202 |
run = create_run(client, assistant, thread)
|
203 |
run = wait_on_run(client, thread, run)
|
204 |
run_steps = get_run_steps(client, thread, run)
|
|
|
197 |
if result:
|
198 |
print("## result")
|
199 |
print(result)
|
200 |
+
create_message(client, thread, result + " ### " + message)
|
|
|
201 |
run = create_run(client, assistant, thread)
|
202 |
run = wait_on_run(client, thread, run)
|
203 |
run_steps = get_run_steps(client, thread, run)
|