Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,17 +45,11 @@ def chat(message, history):
|
|
45 |
thread = create_thread()
|
46 |
|
47 |
create_message(thread, message)
|
48 |
-
|
49 |
run = create_run(assistant, thread)
|
50 |
-
|
51 |
run = wait_on_run(thread, run)
|
52 |
-
|
53 |
run_steps = get_run_steps(thread, run)
|
54 |
-
|
55 |
recurse_execute_tool_calls(thread, run, run_steps, 0)
|
56 |
-
|
57 |
messages = get_messages(thread)
|
58 |
-
|
59 |
text_values, image_values = extract_content_values(messages)
|
60 |
|
61 |
download_link = ""
|
|
|
45 |
thread = create_thread()
|
46 |
|
47 |
create_message(thread, message)
|
|
|
48 |
run = create_run(assistant, thread)
|
|
|
49 |
run = wait_on_run(thread, run)
|
|
|
50 |
run_steps = get_run_steps(thread, run)
|
|
|
51 |
recurse_execute_tool_calls(thread, run, run_steps, 0)
|
|
|
52 |
messages = get_messages(thread)
|
|
|
53 |
text_values, image_values = extract_content_values(messages)
|
54 |
|
55 |
download_link = ""
|