Update app.py
Browse files
app.py
CHANGED
@@ -102,6 +102,22 @@ a:hover {
|
|
102 |
.kofi-link img:hover {
|
103 |
transform: scale(1.1);
|
104 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
"""
|
106 |
|
107 |
JS = """function () {
|
@@ -232,7 +248,7 @@ with gr.Blocks(css=CSS, js=JS, theme="dark") as demo:
|
|
232 |
with gr.Row():
|
233 |
prompt = gr.Textbox(label='Enter Your Prompt (Multi-Languages)', placeholder="Enter prompt...", scale=6)
|
234 |
sendBtn = gr.Button(scale=1, variant='primary')
|
235 |
-
with gr.Accordion("Advanced Options", open=True):
|
236 |
with gr.Column(scale=1):
|
237 |
width = gr.Slider(
|
238 |
label="Width",
|
|
|
102 |
.kofi-link img:hover {
|
103 |
transform: scale(1.1);
|
104 |
}
|
105 |
+
|
106 |
+
/* ---------------------- */
|
107 |
+
/* Estilos para Advanced Options */
|
108 |
+
|
109 |
+
/* Encabezado del Accordion (Advanced Options) en rosa */
|
110 |
+
.advanced-accordion > summary {
|
111 |
+
color: #ff1493 !important;
|
112 |
+
text-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
|
113 |
+
font-weight: bold;
|
114 |
+
}
|
115 |
+
|
116 |
+
/* Opciones dentro de Advanced Options en azul eléctrico */
|
117 |
+
.advanced-accordion label {
|
118 |
+
color: #00ffff !important;
|
119 |
+
text-shadow: 0 0 5px #00ffff;
|
120 |
+
}
|
121 |
"""
|
122 |
|
123 |
JS = """function () {
|
|
|
248 |
with gr.Row():
|
249 |
prompt = gr.Textbox(label='Enter Your Prompt (Multi-Languages)', placeholder="Enter prompt...", scale=6)
|
250 |
sendBtn = gr.Button(scale=1, variant='primary')
|
251 |
+
with gr.Accordion("Advanced Options", open=True, elem_classes="advanced-accordion"):
|
252 |
with gr.Column(scale=1):
|
253 |
width = gr.Slider(
|
254 |
label="Width",
|