shibing624 commited on
Commit
2cd1fe1
·
1 Parent(s): 85b182e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,8 +61,9 @@ if __name__ == '__main__':
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>",
 
61
 
62
  gr.Interface(
63
  ai_text,
64
+ inputs=[gr.inputs.Textbox(lines=4)],
65
  outputs=[gr.outputs.Textbox()],
66
+ theme="grass",
67
  title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
68
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
69
  article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",