Spaces:
Running
Running
Commit
·
cd58992
1
Parent(s):
eb68069
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,8 @@ if __name__ == '__main__':
|
|
58 |
output_text = gr.outputs.Textbox()
|
59 |
gr.Interface(
|
60 |
ai_text,
|
61 |
-
inputs=
|
62 |
-
outputs=
|
63 |
title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
|
64 |
description="Copy or input error Chinese text. Submit and the machine will correct text.",
|
65 |
article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
|
|
|
58 |
output_text = gr.outputs.Textbox()
|
59 |
gr.Interface(
|
60 |
ai_text,
|
61 |
+
inputs=input_text,
|
62 |
+
outputs='text',
|
63 |
title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
|
64 |
description="Copy or input error Chinese text. Submit and the machine will correct text.",
|
65 |
article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
|