Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,6 +162,64 @@ 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.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 |
|
|
|
|
| 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 |
+
|
| 172 |
+
body {
|
| 173 |
+
background-color: #ff8f00 !important;
|
| 174 |
+
color: black !important;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
input[type="number"], input[type="text"], textarea {
|
| 178 |
+
background-color: transparent !important;
|
| 179 |
+
border: 2px solid #000 !important;
|
| 180 |
+
border-radius: 12px !important;
|
| 181 |
+
color: black !important;
|
| 182 |
+
padding: 10px !important;
|
| 183 |
+
font-weight: 500;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
input::placeholder, textarea::placeholder {
|
| 187 |
+
color: #333 !important;
|
| 188 |
+
opacity: 0.7;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.gr-checkbox label {
|
| 192 |
+
display: flex;
|
| 193 |
+
align-items: center;
|
| 194 |
+
gap: 8px;
|
| 195 |
+
font-weight: 600;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
input[type="checkbox"] {
|
| 199 |
+
accent-color: black !important;
|
| 200 |
+
width: 18px;
|
| 201 |
+
height: 18px;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.gr-button {
|
| 205 |
+
font-weight: bold;
|
| 206 |
+
border-radius: 10px !important;
|
| 207 |
+
background-color: white !important;
|
| 208 |
+
color: black !important;
|
| 209 |
+
border: 2px solid black !important;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.gr-button:hover {
|
| 213 |
+
background-color: #fff3e0 !important;
|
| 214 |
+
color: black !important;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
label {
|
| 218 |
+
font-weight: 600 !important;
|
| 219 |
+
}
|
| 220 |
+
</style>
|
| 221 |
+
""")
|
| 222 |
+
|
| 223 |
gr.Markdown("# 馃彔 Busca de Combina莽玫es de Cons贸rcio Im贸vel")
|
| 224 |
gr.Markdown("Insira os valores desejados para cr茅dito, entrada e parcela, e filtre por administradora.")
|
| 225 |
|