Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def chat(message, history):
|
|
29 |
if not message:
|
30 |
raise gr.Error("Message is required.")
|
31 |
|
32 |
-
|
33 |
|
34 |
global assistant, thread
|
35 |
|
@@ -78,5 +78,5 @@ gr.ChatInterface(
|
|
78 |
["Execute with tools: Create a plot showing stock gain QTD for NVDA and AMD, x-axis is \"Day\" and y-axis is \"Gain %\""],
|
79 |
["Execute with tools: Get key announcements from latest OpenAI Dev Day"]
|
80 |
],
|
81 |
-
cache_examples=
|
82 |
).launch()
|
|
|
29 |
if not message:
|
30 |
raise gr.Error("Message is required.")
|
31 |
|
32 |
+
raise gr.Error("Please clone and bring your own OpenAI and Tavily credentials.")
|
33 |
|
34 |
global assistant, thread
|
35 |
|
|
|
78 |
["Execute with tools: Create a plot showing stock gain QTD for NVDA and AMD, x-axis is \"Day\" and y-axis is \"Gain %\""],
|
79 |
["Execute with tools: Get key announcements from latest OpenAI Dev Day"]
|
80 |
],
|
81 |
+
cache_examples=True,
|
82 |
).launch()
|