Spaces:
Runtime error
Runtime error
Commit
·
d30b71c
1
Parent(s):
fade9b4
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ if __name__ == '__main__':
|
|
53 |
['他法语说的很好,的语也不错'],
|
54 |
['他们的吵翻很不错,再说他们做的咖喱鸡也好吃'],
|
55 |
]
|
56 |
-
inputs = gr.inputs.Textbox(placeholder="Input chinese text with spell error")
|
57 |
output_text = gr.outputs.Textbox()
|
58 |
gr.Interface(ai_text, inputs, output_text,
|
59 |
theme="grass",
|
|
|
53 |
['他法语说的很好,的语也不错'],
|
54 |
['他们的吵翻很不错,再说他们做的咖喱鸡也好吃'],
|
55 |
]
|
56 |
+
inputs = gr.inputs.Textbox(lines=5, placeholder="Input chinese text with spell error")
|
57 |
output_text = gr.outputs.Textbox()
|
58 |
gr.Interface(ai_text, inputs, output_text,
|
59 |
theme="grass",
|