Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -316,19 +316,18 @@ footer {visibility: hidden;}
|
|
316 |
/* ์ ์ญ ๊ฒ์ ๊ฒฐ๊ณผ ์ปจํ
์ด๋ ์คํ์ผ */
|
317 |
#global_results_container {
|
318 |
margin-top: 20px;
|
319 |
-
border-top: 1px solid #eee;
|
320 |
padding-top: 20px;
|
321 |
}
|
322 |
|
323 |
-
/* ์งํ ์ํ
|
324 |
-
|
325 |
position: sticky;
|
326 |
top: 0;
|
327 |
background: white;
|
328 |
padding: 10px;
|
329 |
-
border-bottom: 1px solid #eee;
|
330 |
-
z-index: 100;
|
331 |
margin-bottom: 20px;
|
|
|
|
|
332 |
}
|
333 |
"""
|
334 |
|
@@ -372,8 +371,6 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, title="NewsAI ์๋น์ค") as
|
|
372 |
'index': i,
|
373 |
})
|
374 |
|
375 |
-
|
376 |
-
# ์ ์ธ๊ณ ํญ
|
377 |
with gr.Tab("์ ์ธ๊ณ"):
|
378 |
gr.Markdown("๊ฒ์์ด๋ฅผ ์
๋ ฅํ๋ฉด 67๊ฐ๊ตญ์ 24์๊ฐ ์ด๋ด ๋ด์ค๋ฅผ ์ต๋ 1000๊ฐ ์ถ๋ ฅํฉ๋๋ค.")
|
379 |
|
@@ -384,11 +381,14 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, title="NewsAI ์๋น์ค") as
|
|
384 |
search_button_global = gr.Button("์ ์ธ๊ณ ๊ฒ์", variant="primary")
|
385 |
|
386 |
# ์งํ ์ํ ํ์ ์์ญ (๊ณ ์ ์์น)
|
387 |
-
with gr.
|
388 |
status_message_global = gr.Markdown("", visible=True)
|
389 |
translated_query_display_global = gr.Markdown(visible=False)
|
390 |
progress_global = gr.Progress()
|
391 |
|
|
|
|
|
|
|
392 |
# ๊ฒฐ๊ณผ ์ถ๋ ฅ ์์ญ (์คํฌ๋กค ๊ฐ๋ฅ)
|
393 |
with gr.Column(elem_id="global_results_container"):
|
394 |
articles_state_global = gr.State([])
|
@@ -409,6 +409,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, title="NewsAI ์๋น์ค") as
|
|
409 |
'info': info,
|
410 |
'index': i,
|
411 |
})
|
|
|
412 |
|
413 |
|
414 |
|
|
|
316 |
/* ์ ์ญ ๊ฒ์ ๊ฒฐ๊ณผ ์ปจํ
์ด๋ ์คํ์ผ */
|
317 |
#global_results_container {
|
318 |
margin-top: 20px;
|
|
|
319 |
padding-top: 20px;
|
320 |
}
|
321 |
|
322 |
+
/* ์งํ ์ํ ์ปจํ
์ด๋ ์คํ์ผ */
|
323 |
+
#progress_status_container {
|
324 |
position: sticky;
|
325 |
top: 0;
|
326 |
background: white;
|
327 |
padding: 10px;
|
|
|
|
|
328 |
margin-bottom: 20px;
|
329 |
+
border-bottom: 2px solid #eee;
|
330 |
+
z-index: 100;
|
331 |
}
|
332 |
"""
|
333 |
|
|
|
371 |
'index': i,
|
372 |
})
|
373 |
|
|
|
|
|
374 |
with gr.Tab("์ ์ธ๊ณ"):
|
375 |
gr.Markdown("๊ฒ์์ด๋ฅผ ์
๋ ฅํ๋ฉด 67๊ฐ๊ตญ์ 24์๊ฐ ์ด๋ด ๋ด์ค๋ฅผ ์ต๋ 1000๊ฐ ์ถ๋ ฅํฉ๋๋ค.")
|
376 |
|
|
|
381 |
search_button_global = gr.Button("์ ์ธ๊ณ ๊ฒ์", variant="primary")
|
382 |
|
383 |
# ์งํ ์ํ ํ์ ์์ญ (๊ณ ์ ์์น)
|
384 |
+
with gr.Column(elem_id="progress_status_container"):
|
385 |
status_message_global = gr.Markdown("", visible=True)
|
386 |
translated_query_display_global = gr.Markdown(visible=False)
|
387 |
progress_global = gr.Progress()
|
388 |
|
389 |
+
# ๊ตฌ๋ถ์
|
390 |
+
gr.Markdown("---")
|
391 |
+
|
392 |
# ๊ฒฐ๊ณผ ์ถ๋ ฅ ์์ญ (์คํฌ๋กค ๊ฐ๋ฅ)
|
393 |
with gr.Column(elem_id="global_results_container"):
|
394 |
articles_state_global = gr.State([])
|
|
|
409 |
'info': info,
|
410 |
'index': i,
|
411 |
})
|
412 |
+
|
413 |
|
414 |
|
415 |
|