Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,7 @@ def load_chat(name):
|
|
69 |
return [], [], f"β Load error: {e}"
|
70 |
|
71 |
# π Gradio UI
|
|
|
72 |
with gr.Blocks(css="""
|
73 |
body {
|
74 |
background-color: #111 !important;
|
@@ -81,16 +82,28 @@ with gr.Blocks(css="""
|
|
81 |
color: white !important;
|
82 |
text-align: center !important;
|
83 |
}
|
|
|
84 |
.gr-chatbot-message, .gr-textbox, textarea, input[type='text'], input, select,
|
85 |
-
.gr-dropdown, .gr-markdown, .gr-label, .gr-button, .gr-
|
86 |
-
|
|
|
87 |
color: white !important;
|
88 |
-
border-radius:
|
89 |
-
border: 1px solid #
|
90 |
}
|
|
|
|
|
91 |
.gr-button:hover {
|
92 |
-
background-color: #
|
93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
.gr-dropdown {
|
95 |
max-height: 150px;
|
96 |
overflow-y: auto;
|
|
|
69 |
return [], [], f"β Load error: {e}"
|
70 |
|
71 |
# π Gradio UI
|
72 |
+
|
73 |
with gr.Blocks(css="""
|
74 |
body {
|
75 |
background-color: #111 !important;
|
|
|
82 |
color: white !important;
|
83 |
text-align: center !important;
|
84 |
}
|
85 |
+
/* Voice box, input, buttons, dropdowns, etc. */
|
86 |
.gr-chatbot-message, .gr-textbox, textarea, input[type='text'], input, select,
|
87 |
+
.gr-dropdown, .gr-markdown, .gr-label, .gr-button, .gr-audio, .gr-audio-label,
|
88 |
+
.gr-row, .gr-column, .form, .form-wrap {
|
89 |
+
background-color: #000 !important;
|
90 |
color: white !important;
|
91 |
+
border-radius: 8px;
|
92 |
+
border: 1px solid #333 !important;
|
93 |
}
|
94 |
+
|
95 |
+
/* Hover effect for buttons */
|
96 |
.gr-button:hover {
|
97 |
+
background-color: #222 !important;
|
98 |
}
|
99 |
+
|
100 |
+
/* Voice box tweaks */
|
101 |
+
audio, .gr-audio-box {
|
102 |
+
background-color: #000 !important;
|
103 |
+
color: white !important;
|
104 |
+
}
|
105 |
+
|
106 |
+
/* Make dropdown scrollable */
|
107 |
.gr-dropdown {
|
108 |
max-height: 150px;
|
109 |
overflow-y: auto;
|