bstraehle commited on
Commit
0ae8719
·
verified ·
1 Parent(s): 0621491

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,7 +135,7 @@ gr.ChatInterface(
135
  chatbot=gr.Chatbot(height=500),
136
  textbox=gr.Textbox(placeholder="Ask anything", container=False, scale=7),
137
  title="Python Code Generator",
138
- description="The assistant can generate, explain, fix, optimize, document, test, and generally help with code. It can also search the internet and execute code.",
139
  #clear_btn="Clear",
140
  #retry_btn="Retry",
141
  #undo_btn="Undo",
@@ -147,5 +147,5 @@ gr.ChatInterface(
147
  ["Execute: Code to generate the first 20 fibbonaci numbers"],
148
  [f"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."],
149
  ],
150
- cache=False,
151
  ).launch()
 
135
  chatbot=gr.Chatbot(height=500),
136
  textbox=gr.Textbox(placeholder="Ask anything", container=False, scale=7),
137
  title="Python Code Generator",
138
+ description="The assistant can generate, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
139
  #clear_btn="Clear",
140
  #retry_btn="Retry",
141
  #undo_btn="Undo",
 
147
  ["Execute: Code to generate the first 20 fibbonaci numbers"],
148
  [f"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."],
149
  ],
150
+ cache_examples=False,
151
  ).launch()