Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -272,9 +272,11 @@ def fetch_blog_content(url: str):
|
|
272 |
# --- Gradio ์ธํฐํ์ด์ค ๊ตฌ์ฑ ---
|
273 |
with gr.Blocks(title="๋ค์ด๋ฒ ๋ธ๋ก๊ทธ ํํ์ ๋ถ์ ์คํ์ด์ค", css=".gradio-container { max-width: 960px; margin: auto; }") as demo:
|
274 |
gr.Markdown("# ๋ค์ด๋ฒ ๋ธ๋ก๊ทธ ํํ์ ๋ถ์ ์คํ์ด์ค")
|
275 |
-
|
276 |
-
|
277 |
-
|
|
|
|
|
278 |
with gr.Row():
|
279 |
blog_content_box = gr.Textbox(label="๋ธ๋ก๊ทธ ๋ด์ฉ (์์ ๊ฐ๋ฅ)", lines=10, placeholder="์คํฌ๋ํ๋ ๋ธ๋ก๊ทธ ๋ด์ฉ์ด ์ฌ๊ธฐ์ ํ์๋ฉ๋๋ค.")
|
280 |
with gr.Row():
|
|
|
272 |
# --- Gradio ์ธํฐํ์ด์ค ๊ตฌ์ฑ ---
|
273 |
with gr.Blocks(title="๋ค์ด๋ฒ ๋ธ๋ก๊ทธ ํํ์ ๋ถ์ ์คํ์ด์ค", css=".gradio-container { max-width: 960px; margin: auto; }") as demo:
|
274 |
gr.Markdown("# ๋ค์ด๋ฒ ๋ธ๋ก๊ทธ ํํ์ ๋ถ์ ์คํ์ด์ค")
|
275 |
+
# ๋ธ๋ก๊ทธ ๋งํฌ์ ์คํฌ๋ํ ๋ฒํผ์ ํ ํ๋ ์ ๋ด์ ๋ฐฐ์น
|
276 |
+
with gr.Group():
|
277 |
+
with gr.Row():
|
278 |
+
blog_url_input = gr.Textbox(label="๋ค์ด๋ฒ ๋ธ๋ก๊ทธ ๋งํฌ", placeholder="์: https://blog.naver.com/ssboost/222983068507", lines=1)
|
279 |
+
scrape_button = gr.Button("์คํฌ๋ํ ์คํ")
|
280 |
with gr.Row():
|
281 |
blog_content_box = gr.Textbox(label="๋ธ๋ก๊ทธ ๋ด์ฉ (์์ ๊ฐ๋ฅ)", lines=10, placeholder="์คํฌ๋ํ๋ ๋ธ๋ก๊ทธ ๋ด์ฉ์ด ์ฌ๊ธฐ์ ํ์๋ฉ๋๋ค.")
|
282 |
with gr.Row():
|