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