Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,9 +99,6 @@ def get_run_steps(client, thread, run):
|
|
99 |
|
100 |
return run_steps
|
101 |
|
102 |
-
def generate_markdown_image(image_data: str) -> str:
|
103 |
-
return f"![Image](data:image/png;base64,{image_data})"
|
104 |
-
|
105 |
def get_run_step_details(run_steps):
|
106 |
for step in run_steps.data:
|
107 |
step_details = step.step_details
|
@@ -196,7 +193,7 @@ gr.ChatInterface(
|
|
196 |
["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
|
197 |
["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
|
198 |
["Execute: First 25 Fibbonaci numbers"],
|
199 |
-
["Execute: Chart showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'"]
|
200 |
],
|
201 |
cache_examples=False,
|
202 |
).launch()
|
|
|
99 |
|
100 |
return run_steps
|
101 |
|
|
|
|
|
|
|
102 |
def get_run_step_details(run_steps):
|
103 |
for step in run_steps.data:
|
104 |
step_details = step.step_details
|
|
|
193 |
["Fix: x = [5, 2, 1, 3, 4]; print(x.sort())"],
|
194 |
["Optimize: x = []; for i in range(0, 10000): x.append(i)"],
|
195 |
["Execute: First 25 Fibbonaci numbers"],
|
196 |
+
["Execute: Chart showing stock gain YTD for NVDA, MSFT, AAPL, and GOOG, x-axis is 'Day' and y-axis is 'YTD Gain %'. Show the code and run it, using mock data."]
|
197 |
],
|
198 |
cache_examples=False,
|
199 |
).launch()
|