CultriX commited on
Commit
74002ea
·
verified ·
1 Parent(s): e9d8102

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -356,6 +356,22 @@ def download_log(log_text: str) -> str:
356
  return f.name
357
 
358
  # -------------------- Custom Gradio Blocks Interface --------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  with gr.Blocks(theme="CultriX/gradio-theme", css=css, delete_cache=(60, 60)) as demo:
360
  gr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")
361
 
 
356
  return f.name
357
 
358
  # -------------------- Custom Gradio Blocks Interface --------------------
359
+ css = '''
360
+ #gen_btn{height: 100%}
361
+ #gen_column{align-self: stretch}
362
+ #title{text-align: center}
363
+ #title h1{font-size: 3em; display:inline-flex; align-items:center}
364
+ #title img{width: 100px; margin-right: 0.5em}
365
+ #gallery .grid-wrap{height: 10vh}
366
+ #lora_list{background: var(--block-background-fill);padding: 0 1em .3em; font-size: 90%}
367
+ .card_internal{display: flex;height: 100px;margin-top: .5em}
368
+ .card_internal img{margin-right: 1em}
369
+ .styler{--form-gap-width: 0px !important}
370
+ #progress{height:30px}
371
+ #progress .generating{display:none}
372
+ .progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
373
+ .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
374
+ '''
375
  with gr.Blocks(theme="CultriX/gradio-theme", css=css, delete_cache=(60, 60)) as demo:
376
  gr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")
377