bstraehle commited on
Commit
c6c3f86
·
verified ·
1 Parent(s): c8be7d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -157,14 +157,14 @@ gr.ChatInterface(
157
  textbox=gr.MultimodalTextbox(placeholder="Ask anything", container=False, scale=7),
158
  title="Python Code Generator",
159
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
160
- examples=[
161
- ["Generate: NumPy/Pandas/Matplotlib & yfinance trading app"],
162
- ["Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\""],
163
- ["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
164
- ["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
165
- ["Execute: First 25 Fibbonaci numbers"],
166
- [f"Execute: Chart showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'"],
167
- ],
168
- cache_examples=True,
169
  multimodal=True,
170
  ).launch()
 
157
  textbox=gr.MultimodalTextbox(placeholder="Ask anything", container=False, scale=7),
158
  title="Python Code Generator",
159
  description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
160
+ #examples=[
161
+ # ["Generate: NumPy/Pandas/Matplotlib & yfinance trading app"],
162
+ # ["Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\""],
163
+ # ["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
164
+ # ["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
165
+ # ["Execute: First 25 Fibbonaci numbers"],
166
+ # [f"Execute: Chart showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'"],
167
+ # ],
168
+ #cache_examples=True,
169
  multimodal=True,
170
  ).launch()