Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ def poem(cls, max_length):
|
|
| 19 |
iface = gr.Interface(
|
| 20 |
fn=poem,
|
| 21 |
inputs=[
|
| 22 |
-
gr.Textbox("
|
| 23 |
-
gr.Number(
|
| 24 |
],
|
| 25 |
outputs=gr.Textbox(lines=6))
|
| 26 |
|
|
|
|
| 19 |
iface = gr.Interface(
|
| 20 |
fn=poem,
|
| 21 |
inputs=[
|
| 22 |
+
gr.Textbox("今晚提测又加班,BUG一堆改不完。", lines=1, label="请输入一句诗词:"),
|
| 23 |
+
gr.Number(66, label='字数:'),
|
| 24 |
],
|
| 25 |
outputs=gr.Textbox(lines=6))
|
| 26 |
|