Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def poems(st):
|
|
15 |
if(i==6):
|
16 |
return(poems)
|
17 |
|
18 |
-
textbox = gr.Textbox(label="输入0~5个汉字作为诗的开头,以英文空格分隔。(Enter 0~5 Chinese characters to be the beginning of the poem, separated by a space. )", placeholder="白 日 依 山 尽", lines=
|
19 |
|
20 |
iface = gr.Interface(fn=poems, inputs=textbox, outputs="text")
|
21 |
iface.launch()
|
|
|
15 |
if(i==6):
|
16 |
return(poems)
|
17 |
|
18 |
+
textbox = gr.Textbox(label="输入0~5个汉字作为诗的开头,以英文空格分隔。(Enter 0~5 Chinese characters to be the beginning of the poem, separated by a space. )", placeholder="白 日 依 山 尽", lines=16)
|
19 |
|
20 |
iface = gr.Interface(fn=poems, inputs=textbox, outputs="text")
|
21 |
iface.launch()
|