johnhelf commited on
Commit
017ea2d
1 Parent(s): 9d6b036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -48,15 +48,6 @@ with gr.Blocks() as app:
48
  ["贵州茅台最近半年走势"],
49
  ["Plot the bitcoin chart of 2023 YTD"]],
50
  [inp2])
51
- btn.click(codeinterpreter, inputs=[inp1,inp2,inp3], outputs=[out1,out2])
52
-
53
- # app = gr.Interface(
54
- # fn=codeinterpreter,
55
- # inputs=[inp1,inp2,inp3],
56
- # outputs=["text","gallery"],
57
- # examples=[["","Plot the nvidea stock vs microsoft stock over the last 6 months.",None],
58
- # ["","Plot a sin wave and show it to me.",None],
59
- # ["","怡亚通最近半年走势",None],
60
- # ["","Plot the bitcoin chart of 2023 YTD",None]]
61
- # )
62
  app.launch()
 
48
  ["贵州茅台最近半年走势"],
49
  ["Plot the bitcoin chart of 2023 YTD"]],
50
  [inp2])
51
+ btn.click(codeinterpreter, inputs=[inp1,inp2,inp3], outputs=[out1,out2],api_name="getresult")
52
+
 
 
 
 
 
 
 
 
 
53
  app.launch()