mjlee commited on
Commit ยท
95ba507
1
Parent(s): b59964c
0708_11
Browse files
app.py
CHANGED
|
@@ -74,12 +74,11 @@ def infer(test_sentence):
|
|
| 74 |
result = '\n'.join(annotation)
|
| 75 |
return result
|
| 76 |
|
| 77 |
-
article = "**๋ถ์ํ ํ
์คํธ๋ฅผ ์
๋ ฅํ์ธ์.**" \
|
| 78 |
|
| 79 |
demo = gr.Interface(fn=infer,
|
| 80 |
inputs=gr.Textbox(type="text", label="Input Sentence"),
|
| 81 |
-
outputs=gr.Textbox(type="text", label="Result Sentence")
|
| 82 |
-
|
| 83 |
)
|
| 84 |
|
| 85 |
demo.launch(share=True)
|
|
|
|
| 74 |
result = '\n'.join(annotation)
|
| 75 |
return result
|
| 76 |
|
|
|
|
| 77 |
|
| 78 |
demo = gr.Interface(fn=infer,
|
| 79 |
inputs=gr.Textbox(type="text", label="Input Sentence"),
|
| 80 |
+
outputs=gr.Textbox(type="text", label="Result Sentence"),
|
| 81 |
+
article="**๋ฆฌ๋ทฐ ์์** : ์ํํธ๋ ์ค๋๋์์ง๋ง ๋๋ค๊ฐ ์กฐ์ฉํ๊ณ ์พ์ ํ์ฌ ์ด๊ธฐ์๋ ์์ฃผ ์ข์ต๋๋ค. ํฐ ๋งํธ๊ฐ ์ฃผ๋ณ์ ์๋ ๋จ์ ์ด ์์ง๋ง ์ด์ด์ญ์ด ๋งค์ฐ ๊ฐ๊น๊ณ ์ํ๊ถ ๋ด์ ๋ง์๋ ์๋น๊ณผ ์ปคํผ์์ด ์ฆ๋นํฉ๋๋ค ใ
ใ
"
|
| 82 |
)
|
| 83 |
|
| 84 |
demo.launch(share=True)
|