shibing624 commited on
Commit
ab414a6
·
1 Parent(s): 2bf8c9f

update demo.

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -55,6 +55,8 @@ if __name__ == '__main__':
55
  ]
56
 
57
  output_text = gr.outputs.Textbox()
58
- gr.Interface(ai_text, "textbox", "textbox", title="Chinese Text Correction shibing624/macbert4csc-base-chinese",
 
59
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
 
60
  examples=examples).launch()
 
55
  ]
56
 
57
  output_text = gr.outputs.Textbox()
58
+ gr.Interface(ai_text, "textbox", output_text,
59
+ title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
60
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
61
+ article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
62
  examples=examples).launch()