Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,12 +41,12 @@ with gr.Blocks() as app:
|
|
| 41 |
with gr.Column():
|
| 42 |
out1=gr.Textbox(label="result")
|
| 43 |
out2=gr.Gallery()
|
|
|
|
| 44 |
gr.Examples([["Plot the nvidea stock vs microsoft stock over the last 6 months."],
|
| 45 |
["Plot a sin wave and show it to me."],
|
| 46 |
["贵州茅台最近半年走势"],
|
| 47 |
["Plot the bitcoin chart of 2023 YTD"]],
|
| 48 |
[inp2])
|
| 49 |
-
btn = gr.Button(value="Mirror Image")
|
| 50 |
btn.click(codeinterpreter, inputs=[inp1,inp2,inp3], outputs=[out1,out2])
|
| 51 |
|
| 52 |
# app = gr.Interface(
|
|
|
|
| 41 |
with gr.Column():
|
| 42 |
out1=gr.Textbox(label="result")
|
| 43 |
out2=gr.Gallery()
|
| 44 |
+
btn = gr.Button(value="Mirror Image")
|
| 45 |
gr.Examples([["Plot the nvidea stock vs microsoft stock over the last 6 months."],
|
| 46 |
["Plot a sin wave and show it to me."],
|
| 47 |
["贵州茅台最近半年走势"],
|
| 48 |
["Plot the bitcoin chart of 2023 YTD"]],
|
| 49 |
[inp2])
|
|
|
|
| 50 |
btn.click(codeinterpreter, inputs=[inp1,inp2,inp3], outputs=[out1,out2])
|
| 51 |
|
| 52 |
# app = gr.Interface(
|