Spaces:
Running
Running
Commit
·
85b182e
1
Parent(s):
ef97574
Update app.py
Browse files
app.py
CHANGED
@@ -61,11 +61,8 @@ if __name__ == '__main__':
|
|
61 |
|
62 |
gr.Interface(
|
63 |
ai_text,
|
64 |
-
inputs=
|
65 |
-
outputs=[
|
66 |
-
gr.outputs.Textbox()
|
67 |
-
],
|
68 |
-
theme="grass",
|
69 |
title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
|
70 |
description="Copy or input error Chinese text. Submit and the machine will correct text.",
|
71 |
article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
|
|
|
61 |
|
62 |
gr.Interface(
|
63 |
ai_text,
|
64 |
+
inputs=gr.inputs.Textbox(),
|
65 |
+
outputs=[gr.outputs.Textbox()],
|
|
|
|
|
|
|
66 |
title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
|
67 |
description="Copy or input error Chinese text. Submit and the machine will correct text.",
|
68 |
article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
|