Spaces:
openfree
/
Running on CPU Upgrade

openfree commited on
Commit
b369588
ยท
verified ยท
1 Parent(s): 6f3517b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
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
- .progress-box {
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.Box(): # Box๋กœ ๊ตฌ๋ถ„์„  ์ถ”๊ฐ€
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