Update app.py
Browse files
app.py
CHANGED
|
@@ -112,6 +112,33 @@ css = """
|
|
| 112 |
border-radius: 8px;
|
| 113 |
}
|
| 114 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
# --- Gradio UI ---
|
| 117 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 112 |
border-radius: 8px;
|
| 113 |
}
|
| 114 |
"""
|
| 115 |
+
/* App background (already working) */
|
| 116 |
+
.gradio-container {
|
| 117 |
+
background-color: #EBBAB9 !important;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
/* Text inputs & textarea fields */
|
| 121 |
+
textarea, input[type="text"] {
|
| 122 |
+
background-color: #698996 !important;
|
| 123 |
+
color: white !important;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
/* Chatbot container */
|
| 127 |
+
[data-testid="chatbot"] {
|
| 128 |
+
background-color: #407076 !important;
|
| 129 |
+
color: white !important;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
/* Gallery container */
|
| 133 |
+
[data-testid="gallery"] {
|
| 134 |
+
background-color: #407076 !important;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
/* Gallery images */
|
| 138 |
+
[data-testid="gallery"] img {
|
| 139 |
+
border: 3px solid #D3AF37 !important;
|
| 140 |
+
border-radius: 8px !important;
|
| 141 |
+
}
|
| 142 |
|
| 143 |
# --- Gradio UI ---
|
| 144 |
with gr.Blocks(css=css) as demo:
|