Spaces:
Runtime error
Runtime error
textbox test
Browse files
app.py
CHANGED
@@ -6,12 +6,12 @@ def update(name):
|
|
6 |
demo = gr.Blocks()
|
7 |
|
8 |
with demo:
|
9 |
-
gr.Markdown(f"์ง๊ธ๋ถํฐ ๋ํ ์ ๋ณด๋ฅผ ์
๋ ฅ ๋ฐ๊ฒ ์ต๋๋ค.\n"
|
10 |
-
f"๊ฐ ์ง๋ฌธ์ ๋๋ต ํ Enter ํด์ฃผ์ธ์.\n"
|
11 |
f"์๋ฌด ์
๋ ฅ ์์ด Enter ํ ๊ฒฝ์ฐ, ๋ฏธ๋ฆฌ ์ง์ ๋ ๊ฐ ์ค ๋๋ค์ผ๋ก ์ ํ๊ฒ ๋ฉ๋๋ค.\n"
|
12 |
)
|
13 |
with gr.Row():
|
14 |
-
inp = gr.Textbox(placeholder="What is your name?")
|
15 |
out = gr.Textbox()
|
16 |
btn = gr.Button("Run")
|
17 |
btn.click(fn=update, inputs=inp, outputs=out)
|
|
|
6 |
demo = gr.Blocks()
|
7 |
|
8 |
with demo:
|
9 |
+
gr.Markdown(f"์ง๊ธ๋ถํฐ ๋ํ ์ ๋ณด๋ฅผ ์
๋ ฅ ๋ฐ๊ฒ ์ต๋๋ค.\n\n"
|
10 |
+
f"๊ฐ ์ง๋ฌธ์ ๋๋ต ํ Enter ํด์ฃผ์ธ์.\n\n"
|
11 |
f"์๋ฌด ์
๋ ฅ ์์ด Enter ํ ๊ฒฝ์ฐ, ๋ฏธ๋ฆฌ ์ง์ ๋ ๊ฐ ์ค ๋๋ค์ผ๋ก ์ ํ๊ฒ ๋ฉ๋๋ค.\n"
|
12 |
)
|
13 |
with gr.Row():
|
14 |
+
inp = gr.Textbox(label="topic", placeholder="What is your name?")
|
15 |
out = gr.Textbox()
|
16 |
btn = gr.Button("Run")
|
17 |
btn.click(fn=update, inputs=inp, outputs=out)
|