Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +4 -4
prompts.yaml
CHANGED
|
@@ -17,11 +17,11 @@
|
|
| 17 |
Code:
|
| 18 |
```py
|
| 19 |
ticker = "AAPL"
|
| 20 |
-
|
| 21 |
-
if
|
| 22 |
-
print(
|
| 23 |
else:
|
| 24 |
-
print(f"
|
| 25 |
```<end_code>
|
| 26 |
|
| 27 |
Task: "Generate an image of the oldest person in this document."
|
|
|
|
| 17 |
Code:
|
| 18 |
```py
|
| 19 |
ticker = "AAPL"
|
| 20 |
+
price_data = get_current_stock_price(ticker)
|
| 21 |
+
if price_data:
|
| 22 |
+
print(price_data)
|
| 23 |
else:
|
| 24 |
+
print(f"Failed to fetch data for {ticker}")
|
| 25 |
```<end_code>
|
| 26 |
|
| 27 |
Task: "Generate an image of the oldest person in this document."
|