Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,72 +162,6 @@ def get_administradoras_options():
|
|
| 162 |
|
| 163 |
# Criando a interface Gradio
|
| 164 |
with gr.Blocks(title="Sistema de Busca de Cons贸rcio Im贸vel") as demo:
|
| 165 |
-
gr.HTML("""
|
| 166 |
-
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
| 167 |
-
<style>
|
| 168 |
-
* {
|
| 169 |
-
font-family: 'Poppins', sans-serif !important;
|
| 170 |
-
}
|
| 171 |
-
body {
|
| 172 |
-
background-color: #1e1e1e !important;
|
| 173 |
-
color: #000;
|
| 174 |
-
}
|
| 175 |
-
/* Estilo geral dos inputs */
|
| 176 |
-
.gr-input, .gr-textbox, .gr-number, .gr-group {
|
| 177 |
-
background-color: white !important;
|
| 178 |
-
border-radius: 12px !important;
|
| 179 |
-
padding: 8px !important;
|
| 180 |
-
}
|
| 181 |
-
|
| 182 |
-
/* Estilo dos checkboxes */
|
| 183 |
-
input[type="checkbox"] {
|
| 184 |
-
accent-color: black !important; /* cor da bolinha quando marcada */
|
| 185 |
-
width: 18px;
|
| 186 |
-
height: 18px;
|
| 187 |
-
margin-right: 6px;
|
| 188 |
-
}
|
| 189 |
-
|
| 190 |
-
/* For莽a a apar锚ncia limpa dos checkboxes */
|
| 191 |
-
.gr-checkbox label {
|
| 192 |
-
font-weight: 600;
|
| 193 |
-
display: flex;
|
| 194 |
-
align-items: center;
|
| 195 |
-
gap: 8px;
|
| 196 |
-
padding: 6px 0;
|
| 197 |
-
}
|
| 198 |
-
|
| 199 |
-
/* Estilo dos bot玫es */
|
| 200 |
-
.gr-button {
|
| 201 |
-
font-weight: bold;
|
| 202 |
-
border-radius: 8px !important;
|
| 203 |
-
background-color: white !important;
|
| 204 |
-
color: black !important;
|
| 205 |
-
border: 2px solid black !important;
|
| 206 |
-
}
|
| 207 |
-
|
| 208 |
-
.gr-button:hover {
|
| 209 |
-
background-color: #fff3e0 !important;
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
/* Textarea de sa铆da */
|
| 213 |
-
textarea {
|
| 214 |
-
border-radius: 12px !important;
|
| 215 |
-
background-color: white !important;
|
| 216 |
-
color: black !important;
|
| 217 |
-
}
|
| 218 |
-
|
| 219 |
-
input {
|
| 220 |
-
border-radius: 12px !important;
|
| 221 |
-
background-color: white !important;
|
| 222 |
-
color: black !important;
|
| 223 |
-
}
|
| 224 |
-
|
| 225 |
-
label {
|
| 226 |
-
font-weight: 600;
|
| 227 |
-
}
|
| 228 |
-
</style>
|
| 229 |
-
""")
|
| 230 |
-
|
| 231 |
gr.Markdown("# 馃彔 Busca de Combina莽玫es de Cons贸rcio Im贸vel")
|
| 232 |
gr.Markdown("Insira os valores desejados para cr茅dito, entrada e parcela, e filtre por administradora.")
|
| 233 |
|
|
|
|
| 162 |
|
| 163 |
# Criando a interface Gradio
|
| 164 |
with gr.Blocks(title="Sistema de Busca de Cons贸rcio Im贸vel") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
gr.Markdown("# 馃彔 Busca de Combina莽玫es de Cons贸rcio Im贸vel")
|
| 166 |
gr.Markdown("Insira os valores desejados para cr茅dito, entrada e parcela, e filtre por administradora.")
|
| 167 |
|