Update app.py
Browse files
app.py
CHANGED
|
@@ -816,7 +816,10 @@ CSS = r"""
|
|
| 816 |
--bg:#070a0f; --panel:#0e141d; --border:rgba(255,255,255,.08);
|
| 817 |
--text:#edf2f7; --muted:#8b98a9; --accent:#d7f36d; --danger:#ff7f7f;
|
| 818 |
}
|
|
|
|
| 819 |
body,.gradio-container{background:linear-gradient(180deg,var(--bg),#05070a)!important;color:var(--text)!important}
|
|
|
|
|
|
|
| 820 |
.gradio-container{max-width:1400px!important}
|
| 821 |
#gc-header{display:flex;align-items:center;gap:14px;padding:18px 8px 10px}
|
| 822 |
#gc-header .logo{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;
|
|
@@ -847,6 +850,7 @@ body,.gradio-container{background:linear-gradient(180deg,var(--bg),#05070a)!impo
|
|
| 847 |
@media (max-width:640px){
|
| 848 |
#gc-header .sub{display:none}
|
| 849 |
.gradio-container{padding:0 6px!important}
|
|
|
|
| 850 |
}
|
| 851 |
"""
|
| 852 |
|
|
@@ -881,7 +885,7 @@ with gr.Blocks(title="GarudaCoder-27B") as demo:
|
|
| 881 |
file_types=["image", "video", "file"],
|
| 882 |
file_count="multiple",
|
| 883 |
lines=2, max_lines=8,
|
| 884 |
-
submit_btn="➤", stop_btn="■",
|
| 885 |
)
|
| 886 |
with gr.Row(elem_id="gc-actions"):
|
| 887 |
regen_btn = gr.Button("↻ Regenerate", size="sm", variant="secondary")
|
|
|
|
| 816 |
--bg:#070a0f; --panel:#0e141d; --border:rgba(255,255,255,.08);
|
| 817 |
--text:#edf2f7; --muted:#8b98a9; --accent:#d7f36d; --danger:#ff7f7f;
|
| 818 |
}
|
| 819 |
+
html,body{overflow-y:auto!important}
|
| 820 |
body,.gradio-container{background:linear-gradient(180deg,var(--bg),#05070a)!important;color:var(--text)!important}
|
| 821 |
+
#gc-chat{height:clamp(260px,52dvh,560px)!important}
|
| 822 |
+
#gc-header{padding-top:10px!important}
|
| 823 |
.gradio-container{max-width:1400px!important}
|
| 824 |
#gc-header{display:flex;align-items:center;gap:14px;padding:18px 8px 10px}
|
| 825 |
#gc-header .logo{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;
|
|
|
|
| 850 |
@media (max-width:640px){
|
| 851 |
#gc-header .sub{display:none}
|
| 852 |
.gradio-container{padding:0 6px!important}
|
| 853 |
+
#gc-chat{height:46dvh!important}
|
| 854 |
}
|
| 855 |
"""
|
| 856 |
|
|
|
|
| 885 |
file_types=["image", "video", "file"],
|
| 886 |
file_count="multiple",
|
| 887 |
lines=2, max_lines=8,
|
| 888 |
+
submit_btn="➤", stop_btn="■",
|
| 889 |
)
|
| 890 |
with gr.Row(elem_id="gc-actions"):
|
| 891 |
regen_btn = gr.Button("↻ Regenerate", size="sm", variant="secondary")
|