JessPink commited on
Commit
91c8167
·
1 Parent(s): ad1ee37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def generate_text(prefix: str, suffix: str) -> str:
17
  # 定义Gradio接口
18
  iface = gr.Interface(
19
  fn=generate_text,
20
- inputs=[gr.inputs.Textbox(lines=10, label="Prefix"),
21
- gr.inputs.Textbox(lines=10, label="Suffix")],
22
  outputs=gr.outputs.Textbox(),
23
  )
24
 
 
17
  # 定义Gradio接口
18
  iface = gr.Interface(
19
  fn=generate_text,
20
+ inputs=[gr.Textbox(lines=10, label="Prefix"),
21
+ gr.Textbox(lines=10, label="Suffix")],
22
  outputs=gr.outputs.Textbox(),
23
  )
24