Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -158,10 +158,10 @@ gr.ChatInterface(
|
|
158 |
description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
|
159 |
examples=[
|
160 |
["Generate: NumPy/Pandas/Matplotlib & yfinance trading app"],
|
161 |
-
["Explain: r
|
162 |
["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
|
163 |
["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
|
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=False,
|
|
|
158 |
description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
|
159 |
examples=[
|
160 |
["Generate: NumPy/Pandas/Matplotlib & yfinance trading app"],
|
161 |
+
["Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\""],
|
162 |
["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
|
163 |
["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
|
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=False,
|