Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
|
6 |
# https://platform.openai.com/playground/assistants
|
7 |
# https://platform.openai.com/docs/api-reference/assistants/createAssistant
|
|
|
8 |
# https://cookbook.openai.com/examples/assistants_api_overview_python
|
9 |
|
10 |
import gradio as gr
|
@@ -164,5 +165,6 @@ gr.ChatInterface(
|
|
164 |
["Execute: First 25 Fibbonaci numbers"],
|
165 |
[f"Execute: Today is {datetime.date.today()}. Create a plot showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'. Return the result, don't persist to storage."],
|
166 |
],
|
167 |
-
cache_examples=
|
|
|
168 |
).launch()
|
|
|
5 |
|
6 |
# https://platform.openai.com/playground/assistants
|
7 |
# https://platform.openai.com/docs/api-reference/assistants/createAssistant
|
8 |
+
# https://platform.openai.com/docs/assistants/tools/code-interpreter
|
9 |
# https://cookbook.openai.com/examples/assistants_api_overview_python
|
10 |
|
11 |
import gradio as gr
|
|
|
165 |
["Execute: First 25 Fibbonaci numbers"],
|
166 |
[f"Execute: Today is {datetime.date.today()}. Create a plot showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'. Return the result, don't persist to storage."],
|
167 |
],
|
168 |
+
cache_examples=True,
|
169 |
+
multimodal=True,
|
170 |
).launch()
|