supermy commited on
Commit
34a19e3
1 Parent(s): 9845bbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,6 +49,6 @@ if __name__ == "__main__":
49
 
50
  gr.Interface(
51
  fn=generate,
52
- inputs=gr.Textbox(lines=2, placeholder="请在此输入上联:燕子归来,问昔日雕梁何处。",title="上联"),
53
- outputs="text"
54
  ).launch()
 
49
 
50
  gr.Interface(
51
  fn=generate,
52
+ inputs=gr.Textbox(lines=1, placeholder="请在此输入上联:燕子归来,问昔日雕梁何处。",label="上联"),
53
+ outputs=gr.Textbox(lines=1, placeholder="此处显示生成的下联",label="下联"),
54
  ).launch()