mjlee commited on
Commit
95ba507
ยท
1 Parent(s): b59964c
Files changed (1) hide show
  1. app.py +2 -3
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
- # examples=[image_path,]
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)