Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,4 +18,4 @@ def poems(st):
|
|
18 |
textbox = gr.Textbox(label="输入0~7个汉字作为诗的开头,以英文空格分隔,末尾不用空格。一次六首,大概10秒。(Enter 0~7 Chinese characters to be the beginning of the poem, separated by a space. )", placeholder="山 明 水 净 夜 来 霜", lines=11)
|
19 |
|
20 |
iface = gr.Interface(fn=poems, inputs=textbox, outputs="text")
|
21 |
-
iface.launch()
|
|
|
18 |
textbox = gr.Textbox(label="输入0~7个汉字作为诗的开头,以英文空格分隔,末尾不用空格。一次六首,大概10秒。(Enter 0~7 Chinese characters to be the beginning of the poem, separated by a space. )", placeholder="山 明 水 净 夜 来 霜", lines=11)
|
19 |
|
20 |
iface = gr.Interface(fn=poems, inputs=textbox, outputs="text")
|
21 |
+
iface.launch(share=True)
|