Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -76,6 +76,46 @@ def create_interface():
|
|
76 |
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
|
77 |
}
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
.main-header {
|
80 |
text-align: center;
|
81 |
padding: 3rem 0 4rem 0;
|
@@ -132,6 +172,7 @@ def create_interface():
|
|
132 |
padding: 2.5rem !important;
|
133 |
box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1) !important;
|
134 |
transition: all 0.3s ease !important;
|
|
|
135 |
}
|
136 |
|
137 |
.prompt-output:hover {
|
@@ -139,7 +180,12 @@ def create_interface():
|
|
139 |
transform: translateY(-2px) !important;
|
140 |
}
|
141 |
|
142 |
-
/* Fix
|
|
|
|
|
|
|
|
|
|
|
143 |
footer, .footer, [class*="footer"] {
|
144 |
color: #374151 !important;
|
145 |
}
|
@@ -157,10 +203,11 @@ def create_interface():
|
|
157 |
color: #2563eb !important;
|
158 |
}
|
159 |
|
160 |
-
/*
|
161 |
.gr-button-primary {
|
162 |
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
163 |
border: none !important;
|
|
|
164 |
}
|
165 |
|
166 |
.gr-button-primary:hover {
|
@@ -168,6 +215,16 @@ def create_interface():
|
|
168 |
transform: translateY(-1px);
|
169 |
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
170 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
"""
|
172 |
|
173 |
with gr.Blocks(
|
|
|
76 |
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
|
77 |
}
|
78 |
|
79 |
+
/* FIX CR脥TICO PARA TEXTO BLANCO SOBRE BLANCO */
|
80 |
+
.markdown-text, .markdown-text *,
|
81 |
+
.prose, .prose *,
|
82 |
+
.gr-markdown, .gr-markdown *,
|
83 |
+
div[class*="markdown"], div[class*="markdown"] * {
|
84 |
+
color: #1f2937 !important;
|
85 |
+
}
|
86 |
+
|
87 |
+
.markdown-text h1, .markdown-text h2, .markdown-text h3,
|
88 |
+
.prose h1, .prose h2, .prose h3,
|
89 |
+
.gr-markdown h1, .gr-markdown h2, .gr-markdown h3 {
|
90 |
+
color: #111827 !important;
|
91 |
+
font-weight: 700 !important;
|
92 |
+
}
|
93 |
+
|
94 |
+
.markdown-text p, .markdown-text li, .markdown-text ul, .markdown-text ol,
|
95 |
+
.prose p, .prose li, .prose ul, .prose ol,
|
96 |
+
.gr-markdown p, .gr-markdown li, .gr-markdown ul, .gr-markdown ol {
|
97 |
+
color: #374151 !important;
|
98 |
+
}
|
99 |
+
|
100 |
+
.markdown-text strong, .prose strong, .gr-markdown strong {
|
101 |
+
color: #111827 !important;
|
102 |
+
font-weight: 700 !important;
|
103 |
+
}
|
104 |
+
|
105 |
+
/* Asegurar que las listas sean visibles */
|
106 |
+
ul, ol {
|
107 |
+
color: #374151 !important;
|
108 |
+
}
|
109 |
+
|
110 |
+
li {
|
111 |
+
color: #374151 !important;
|
112 |
+
}
|
113 |
+
|
114 |
+
/* Bullets de listas */
|
115 |
+
ul li::marker {
|
116 |
+
color: #374151 !important;
|
117 |
+
}
|
118 |
+
|
119 |
.main-header {
|
120 |
text-align: center;
|
121 |
padding: 3rem 0 4rem 0;
|
|
|
172 |
padding: 2.5rem !important;
|
173 |
box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1) !important;
|
174 |
transition: all 0.3s ease !important;
|
175 |
+
color: #1f2937 !important;
|
176 |
}
|
177 |
|
178 |
.prompt-output:hover {
|
|
|
180 |
transform: translateY(-2px) !important;
|
181 |
}
|
182 |
|
183 |
+
/* Fix para el output de informaci贸n */
|
184 |
+
.gr-textbox label {
|
185 |
+
color: #374151 !important;
|
186 |
+
}
|
187 |
+
|
188 |
+
/* Fix para footer */
|
189 |
footer, .footer, [class*="footer"] {
|
190 |
color: #374151 !important;
|
191 |
}
|
|
|
203 |
color: #2563eb !important;
|
204 |
}
|
205 |
|
206 |
+
/* Botones */
|
207 |
.gr-button-primary {
|
208 |
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
209 |
border: none !important;
|
210 |
+
color: white !important;
|
211 |
}
|
212 |
|
213 |
.gr-button-primary:hover {
|
|
|
215 |
transform: translateY(-1px);
|
216 |
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
217 |
}
|
218 |
+
|
219 |
+
/* Asegurar que TODOS los elementos de texto sean visibles */
|
220 |
+
* {
|
221 |
+
-webkit-text-fill-color: initial !important;
|
222 |
+
}
|
223 |
+
|
224 |
+
/* Solo el t铆tulo principal mantiene su gradiente */
|
225 |
+
.main-title {
|
226 |
+
-webkit-text-fill-color: transparent !important;
|
227 |
+
}
|
228 |
"""
|
229 |
|
230 |
with gr.Blocks(
|