Sirus1 commited on
Commit
2553939
·
1 Parent(s): b42588c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -128,8 +128,8 @@ with gr.Blocks() as demo:
128
  gr.Number(label="运行时长(s)")]
129
 
130
 
131
- text_button.click(generate_answer, inputs=text_input, outputs=text_output)
 
132
 
133
- demo.launch()
134
 
135
 
 
128
  gr.Number(label="运行时长(s)")]
129
 
130
 
131
+ text_button.click(generate_answer, inputs=text_input, outputs=text_output).launch()
132
+
133
 
 
134
 
135