Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,76 +163,76 @@ def get_administradoras_options():
|
|
| 163 |
# Criando a interface Gradio
|
| 164 |
# Criando a interface Gradio com estilo personalizado
|
| 165 |
with gr.Blocks(title="Sistema de Busca de Cons贸rcio Im贸vel") as demo:
|
| 166 |
-
gr.HTML(
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
)
|
| 236 |
gr.Markdown("## 馃彔 Busca de Combina莽玫es de Cons贸rcio Im贸vel")
|
| 237 |
gr.Markdown("Insira os valores desejados para cr茅dito, entrada e parcela, e filtre por administradora.")
|
| 238 |
|
|
|
|
| 163 |
# Criando a interface Gradio
|
| 164 |
# Criando a interface Gradio com estilo personalizado
|
| 165 |
with gr.Blocks(title="Sistema de Busca de Cons贸rcio Im贸vel") as demo:
|
| 166 |
+
gr.HTML(
|
| 167 |
+
"""
|
| 168 |
+
<style>
|
| 169 |
+
body {
|
| 170 |
+
background-color: #ff8f00 !important;
|
| 171 |
+
color: white !important;
|
| 172 |
+
font-family: 'Arial', sans-serif;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
.gr-block.gr-textbox label,
|
| 176 |
+
.gr-block.gr-number label,
|
| 177 |
+
.gr-block.gr-checkboxgroup label {
|
| 178 |
+
font-weight: bold;
|
| 179 |
+
color: white !important;
|
| 180 |
+
text-align: center;
|
| 181 |
+
display: block;
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
input, select, textarea {
|
| 185 |
+
background-color: white !important;
|
| 186 |
+
color: black !important;
|
| 187 |
+
border-radius: 12px !important;
|
| 188 |
+
border: none !important;
|
| 189 |
+
padding: 10px 15px !important;
|
| 190 |
+
font-size: 16px !important;
|
| 191 |
+
width: 100% !important;
|
| 192 |
+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
.gr-button {
|
| 196 |
+
background-color: white !important;
|
| 197 |
+
color: black !important;
|
| 198 |
+
border-radius: 25px !important;
|
| 199 |
+
font-size: 18px !important;
|
| 200 |
+
padding: 12px 24px !important;
|
| 201 |
+
font-weight: bold;
|
| 202 |
+
border: none !important;
|
| 203 |
+
width: 100%;
|
| 204 |
+
transition: all 0.3s ease-in-out;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.gr-button:hover {
|
| 208 |
+
background-color: #1d449a !important;
|
| 209 |
+
color: white !important;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.gr-markdown h2, .gr-markdown p {
|
| 213 |
+
text-align: center;
|
| 214 |
+
font-weight: bold;
|
| 215 |
+
color: white;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.gr-row {
|
| 219 |
+
justify-content: center;
|
| 220 |
+
gap: 20px;
|
| 221 |
+
flex-wrap: wrap;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.gr-column {
|
| 225 |
+
width: 100%;
|
| 226 |
+
max-width: 300px;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.gr-block.gr-checkboxgroup {
|
| 230 |
+
max-width: 300px;
|
| 231 |
+
margin: 0 auto;
|
| 232 |
+
}
|
| 233 |
+
</style>
|
| 234 |
+
"""
|
| 235 |
+
)
|
| 236 |
gr.Markdown("## 馃彔 Busca de Combina莽玫es de Cons贸rcio Im贸vel")
|
| 237 |
gr.Markdown("Insira os valores desejados para cr茅dito, entrada e parcela, e filtre por administradora.")
|
| 238 |
|