Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ with gr.Blocks(title="๐ ์๊ธ์จ ํธ์ง ๋ฒ์ญ๊ธฐ") as demo:
|
|
65 |
|
66 |
# ์ค๋ฅธ์ชฝ: ํ
์คํธ ๊ฒฐ๊ณผ
|
67 |
with gr.Column(scale=2):
|
68 |
-
english_box = gr.Textbox(label="๐ ์ถ์ถ๋ ์์ด ํ
์คํธ", lines=
|
69 |
translate_button = gr.Button("๐ ๋ฒ์ญํ๊ธฐ")
|
70 |
-
korean_box = gr.Textbox(label="๐ฐ๐ท ๋ฒ์ญ๋ ํ๊ตญ์ด ํ
์คํธ", lines=
|
71 |
|
72 |
# Step 1: ์ด๋ฏธ์ง ์
๋ก๋ ์ OCR ์คํ
|
73 |
image_input.change(fn=extract_text_from_image, inputs=image_input, outputs=english_box)
|
|
|
65 |
|
66 |
# ์ค๋ฅธ์ชฝ: ํ
์คํธ ๊ฒฐ๊ณผ
|
67 |
with gr.Column(scale=2):
|
68 |
+
english_box = gr.Textbox(label="๐ ์ถ์ถ๋ ์์ด ํ
์คํธ", lines=10)
|
69 |
translate_button = gr.Button("๐ ๋ฒ์ญํ๊ธฐ")
|
70 |
+
korean_box = gr.Textbox(label="๐ฐ๐ท ๋ฒ์ญ๋ ํ๊ตญ์ด ํ
์คํธ", lines=10)
|
71 |
|
72 |
# Step 1: ์ด๋ฏธ์ง ์
๋ก๋ ์ OCR ์คํ
|
73 |
image_input.change(fn=extract_text_from_image, inputs=image_input, outputs=english_box)
|