TedYeh commited on
Commit
64fe5a1
1 Parent(s): db4ce6d

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,5 +18,5 @@ with gr.Blocks() as demo:
18
  #設定按鈕
19
  greet_btn = gr.Button("Correction")
20
  #設定按鈕點選事件
21
- greet_btn.click(fn=cged_correction, inputs=name, outputs=output)
22
  demo.launch()
 
18
  #設定按鈕
19
  greet_btn = gr.Button("Correction")
20
  #設定按鈕點選事件
21
+ greet_btn.click(fn=cged_correction, inputs=sent, outputs=output)
22
  demo.launch()