bstraehle commited on
Commit
d8b592a
1 Parent(s): d5c250a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ def chat(message, history):
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,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=False,
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()