shibing624 commited on
Commit
4e606ee
·
verified ·
1 Parent(s): 2532c40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -54,15 +54,14 @@ if __name__ == '__main__':
54
  ['他法语说的很好,的语也不错'],
55
  ['他们的吵翻很不错,再说他们做的咖喱鸡也好吃'],
56
  ]
57
- input_text = gr.inputs.Textbox(lines=4, placeholder="Enter Query")
58
- output_text = gr.outputs.Textbox()
59
  gr.Interface(
60
  ai_text,
61
  inputs='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>",
66
  examples=examples
67
  ).launch()
68
 
 
54
  ['他法语说的很好,的语也不错'],
55
  ['他们的吵翻很不错,再说他们做的咖喱鸡也好吃'],
56
  ]
57
+
 
58
  gr.Interface(
59
  ai_text,
60
  inputs='text',
61
  outputs='text',
62
  title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
63
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
64
+ article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO: pycorrector</a>",
65
  examples=examples
66
  ).launch()
67