Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def chat(message, history):
|
|
59 |
download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
|
60 |
|
61 |
#return f"{'<hr>'.join(list(reversed(text_values))[1:])}{download_link}"
|
62 |
-
return f"{'<br />'.join(reversed(text_values))}<br />{download_link}"
|
63 |
|
64 |
gr.ChatInterface(
|
65 |
fn=chat,
|
@@ -79,5 +79,5 @@ gr.ChatInterface(
|
|
79 |
["Execute with tools: Create a plot showing stock gain QTD for NVDA and AMD, x-axis is \"Day\" and y-axis is \"Gain %\""],
|
80 |
["Execute with tools: Get key announcements from latest OpenAI Dev Day"]
|
81 |
],
|
82 |
-
cache_examples=
|
83 |
).launch()
|
|
|
59 |
download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
|
60 |
|
61 |
#return f"{'<hr>'.join(list(reversed(text_values))[1:])}{download_link}"
|
62 |
+
return f"{'<br /><hr />'.join(reversed(text_values))}<br /><hr />{download_link}"
|
63 |
|
64 |
gr.ChatInterface(
|
65 |
fn=chat,
|
|
|
79 |
["Execute with tools: Create a plot showing stock gain QTD for NVDA and AMD, x-axis is \"Day\" and y-axis is \"Gain %\""],
|
80 |
["Execute with tools: Get key announcements from latest OpenAI Dev Day"]
|
81 |
],
|
82 |
+
cache_examples=False,
|
83 |
).launch()
|