Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,7 @@ def echo(text):
|
|
4 |
return text
|
5 |
|
6 |
# Gradio ์ธํฐํ์ด์ค ์ ์
|
7 |
-
input_text = gr.
|
8 |
-
output_text = gr.outputs.Textbox(label="๊ฒฐ๊ณผ:")
|
9 |
|
10 |
# Gradio ์ธํฐํ์ด์ค ์คํ
|
11 |
-
|
|
|
4 |
return text
|
5 |
|
6 |
# Gradio ์ธํฐํ์ด์ค ์ ์
|
7 |
+
input_text = gr.Interface(fn=echo, inputs="text", outputs="text", title="Echo App", description="์
๋ ฅํ ํ
์คํธ๋ฅผ ๊ทธ๋๋ก ์ถ๋ ฅํฉ๋๋ค.")
|
|
|
8 |
|
9 |
# Gradio ์ธํฐํ์ด์ค ์คํ
|
10 |
+
input_text.launch()
|