Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ def punct(txt):
|
|
44 |
|
45 |
|
46 |
interface = gr.Interface(fn=punct,
|
47 |
-
inputs=gr.Textbox(lines=6, label='输入需要标点的文本:'),
|
48 |
-
outputs=gr.Textbox(
|
49 |
title='chinese classical texts punctuation',
|
50 |
)
|
51 |
interface.launch()
|
|
|
44 |
|
45 |
|
46 |
interface = gr.Interface(fn=punct,
|
47 |
+
inputs=gr.inputs.Textbox(lines=6, label='输入需要标点的文本:'),
|
48 |
+
outputs=gr.outputs.Textbox(label='标点结果:'),
|
49 |
title='chinese classical texts punctuation',
|
50 |
)
|
51 |
interface.launch()
|