supermy commited on
Commit
80c6535
1 Parent(s): 15e85f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -49,7 +49,11 @@ if __name__ == "__main__":
49
 
50
  gr.Interface(
51
  fn=generate,
52
- inputs=gr.Textbox(lines=15, placeholder="燕子归来,问昔日雕梁何处。"),
 
 
 
 
53
 
54
  outputs="text"
55
  ).launch()
 
49
 
50
  gr.Interface(
51
  fn=generate,
52
+ inputs=[
53
+ "text",
54
+ gr.Textbox(lines=1, placeholder="燕子归来,问昔日雕梁何处。"),
55
+ "number"
56
+ ],
57
 
58
  outputs="text"
59
  ).launch()