LymphSteamer commited on
Commit
a823c5b
·
verified ·
1 Parent(s): a990b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,6 +35,6 @@ def output_extracter():
35
  with gr.Blocks() as demo:
36
  output = gr.Textbox(label="俳句")
37
  btn = gr.Button("生成")
38
- btn.click(fn=output_extracter,outputs=output)
39
 
40
  demo.launch()
 
35
  with gr.Blocks() as demo:
36
  output = gr.Textbox(label="俳句")
37
  btn = gr.Button("生成")
38
+ btn.click(fn=output_extracter,generated_haiku=output)
39
 
40
  demo.launch()