Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,11 @@ if __name__ == "__main__":
|
|
49 |
|
50 |
gr.Interface(
|
51 |
fn=generate,
|
52 |
-
inputs=
|
|
|
|
|
|
|
|
|
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()
|