Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -161,11 +161,11 @@ gr.ChatInterface(
|
|
161 |
description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
|
162 |
examples=[
|
163 |
[{"text": "Generate: NumPy/Pandas/Matplotlib & yfinance trading app", "files": []}],
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
],
|
170 |
cache_examples=False,
|
171 |
multimodal=True,
|
|
|
161 |
description="The assistant can generate code, explain, fix, optimize, document, test, and generally help with code. It can also execute code.",
|
162 |
examples=[
|
163 |
[{"text": "Generate: NumPy/Pandas/Matplotlib & yfinance trading app", "files": []}],
|
164 |
+
[{"text": "Explain: r\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W]).{8,}$\"", "files": []}],
|
165 |
+
[{"text": "Fix: x = [5, 2, 1, 3, 4]; print(x.sort())", "files": []}],
|
166 |
+
[{"text": "Optimize: x = []; for i in range(0, 10000): x.append(i)", "files": []}],
|
167 |
+
[{"text": "Execute: First 25 Fibbonaci numbers", "files": []}],
|
168 |
+
[{"text": "Execute: Chart showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'", "files": []}],
|
169 |
],
|
170 |
cache_examples=False,
|
171 |
multimodal=True,
|