Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ def chat(message, history):
|
|
166 |
|
167 |
run_steps = get_run_steps(client, thread, run)
|
168 |
|
169 |
-
get_run_step_details(run_steps)
|
170 |
|
171 |
messages = get_messages(client, thread)
|
172 |
|
@@ -176,7 +176,7 @@ def chat(message, history):
|
|
176 |
print(content_values[0])
|
177 |
print("###")
|
178 |
|
179 |
-
return content_values[0]
|
180 |
|
181 |
gr.ChatInterface(
|
182 |
fn=chat,
|
|
|
166 |
|
167 |
run_steps = get_run_steps(client, thread, run)
|
168 |
|
169 |
+
download_file = get_run_step_details(run_steps)
|
170 |
|
171 |
messages = get_messages(client, thread)
|
172 |
|
|
|
176 |
print(content_values[0])
|
177 |
print("###")
|
178 |
|
179 |
+
return f"{content_values[0]}<br /><br />{download_file}"
|
180 |
|
181 |
gr.ChatInterface(
|
182 |
fn=chat,
|