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)
|