Spaces:
Runtime error
Runtime error
progress
Browse files
app.py
CHANGED
@@ -6,12 +6,14 @@ def update(name):
|
|
6 |
demo = gr.Blocks()
|
7 |
|
8 |
with demo:
|
9 |
-
gr.Markdown(f"
|
10 |
-
|
11 |
-
f"์๋ฌด ์
๋ ฅ ์์ด Enter ํ ๊ฒฝ์ฐ, ๋ฏธ๋ฆฌ ์ง์ ๋ ๊ฐ ์ค ๋๋ค์ผ๋ก ์ ํ๊ฒ ๋ฉ๋๋ค.\n"
|
12 |
-
)
|
13 |
with gr.Row():
|
14 |
-
|
|
|
|
|
|
|
|
|
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"๊ฐ ์ง๋ฌธ์ ๋๋ต ํ Enter ํด์ฃผ์ธ์.\n\n")
|
10 |
+
topic = gr.Textbox(label="Topic", placeholder="๋ํ ์ฃผ์ ๋ฅผ ์ ํด์ฃผ์ธ์ (e.g. ์ฌ๊ฐ ์ํ, ์ผ๊ณผ ์ง์
, ๊ฐ์ธ ๋ฐ ๊ด๊ณ, etc...)")
|
|
|
|
|
11 |
with gr.Row():
|
12 |
+
with gr.Column():
|
13 |
+
addr = gr.Textbox(label="์ง์ญ", placeholder="e.g. ์ฌ๊ฐ ์ํ, ์ผ๊ณผ ์ง์
, ๊ฐ์ธ ๋ฐ ๊ด๊ณ, etc...")
|
14 |
+
age = gr.Textbox(label="๋์ด", placeholder="e.g. 20๋ ๋ฏธ๋ง, 40๋, 70๋ ์ด์, etc...")
|
15 |
+
sex = gr.Textbox(label="์ฑ๋ณ", placeholder="e.g. ๋จ์ฑ, ์ฌ์ฑ, etc...")
|
16 |
+
|
17 |
out = gr.Textbox()
|
18 |
btn = gr.Button("Run")
|
19 |
btn.click(fn=update, inputs=inp, outputs=out)
|