shibing624 commited on
Commit
616fb74
·
1 Parent(s): 4641fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -65,12 +65,13 @@ if __name__ == '__main__':
65
  outputs=[
66
  gr.outputs.HighlightedText(
67
  label="Output",
68
- show_legend=True,
69
  ),
70
  gr.outputs.JSON(
71
  label="JSON Output"
72
  )
73
  ],
 
74
  title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
75
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
76
  article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",
 
65
  outputs=[
66
  gr.outputs.HighlightedText(
67
  label="Output",
68
+ #show_legend=True,
69
  ),
70
  gr.outputs.JSON(
71
  label="JSON Output"
72
  )
73
  ],
74
+ theme="grass",
75
  title="Chinese Spelling Correction Model shibing624/macbert4csc-base-chinese",
76
  description="Copy or input error Chinese text. Submit and the machine will correct text.",
77
  article="Link to <a href='https://github.com/shibing624/pycorrector' style='color:blue;' target='_blank\'>Github REPO</a>",