Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,10 +38,11 @@ with gr.Blocks() as app:
|
|
| 38 |
inp1=gr.Textbox(label="openai_key")
|
| 39 |
inp2=gr.Textbox(label="prompt",info="input the prompt")
|
| 40 |
inp3=gr.Files()
|
|
|
|
| 41 |
with gr.Column():
|
| 42 |
out1=gr.Textbox(label="result")
|
| 43 |
out2=gr.Gallery()
|
| 44 |
-
|
| 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 |
["贵州茅台最近半年走势"],
|
|
|
|
| 38 |
inp1=gr.Textbox(label="openai_key")
|
| 39 |
inp2=gr.Textbox(label="prompt",info="input the prompt")
|
| 40 |
inp3=gr.Files()
|
| 41 |
+
btn = gr.Button(value="Submit")
|
| 42 |
with gr.Column():
|
| 43 |
out1=gr.Textbox(label="result")
|
| 44 |
out2=gr.Gallery()
|
| 45 |
+
|
| 46 |
gr.Examples([["Plot the nvidea stock vs microsoft stock over the last 6 months."],
|
| 47 |
["Plot a sin wave and show it to me."],
|
| 48 |
["贵州茅台最近半年走势"],
|