Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
"
|
| 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)
|
|
|
|
| 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)
|