dla9944 commited on
Commit
71b6b00
ยท
1 Parent(s): f1c1edf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -91,18 +91,18 @@ def update(text: str):
91
  with gr.Blocks() as demo:
92
  gr.Markdown("# <center>Robust Grammar Correction with FLAN-T5</center>")
93
  gr.Markdown(
94
- "**Instructions:** Enter the text you want to correct in the textbox below (_text will be truncated to 4000 characters_). Click 'Process' to run."
95
  )
96
  gr.Markdown(
97
- """Models:
98
- - `textattack/roberta-base-CoLA` for grammar quality detection
99
- - `pszemraj/flan-t5-large-grammar-synthesis` for grammar correction
100
  """
101
  )
102
  with gr.Row():
103
  inp = gr.Textbox(
104
  label="input",
105
- placeholder="PUT TEXT TO CHECK & CORRECT BROSKI",
106
  value="Put it text",
107
  )
108
  out = gr.Textbox(label="output", interactive=False)
 
91
  with gr.Blocks() as demo:
92
  gr.Markdown("# <center>Robust Grammar Correction with FLAN-T5</center>")
93
  gr.Markdown(
94
+ "**์‚ฌ์šฉ ๋ฐฉ๋ฒ•**: ์•„๋ž˜์˜ ํ…์ŠคํŠธ ์ƒ์ž์— ์ˆ˜์ •ํ•˜๊ณ ์ž ํ•˜๋Š” ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š” (ํ…์ŠคํŠธ๋Š” 4000์ž๊นŒ์ง€๋งŒ ์ž…๋ ฅ๋ฉ๋‹ˆ๋‹ค). **'์ฒ˜๋ฆฌ'** ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์‹คํ–‰ํ•˜์„ธ์š”."
95
  )
96
  gr.Markdown(
97
+ """์‚ฌ์šฉ ๋ชจ๋ธ:
98
+ - `textattack/roberta-base-CoLA` ๊ทธ๋ž˜๋จธ ํ€„๋ฆฌํ‹ฐ ๊ฐ์‹์— ์‚ฌ์šฉ
99
+ - `pszemraj/flan-t5-large-grammar-synthesis` ๋ฌธ๋ฒ• ๊ต์ •์„ ์œ„ํ•ด ์‚ฌ์šฉ
100
  """
101
  )
102
  with gr.Row():
103
  inp = gr.Textbox(
104
  label="input",
105
+ placeholder="ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  ๊ต์ •ํ•ด์ฃผ์„ธ์š”",
106
  value="Put it text",
107
  )
108
  out = gr.Textbox(label="output", interactive=False)