Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -342,10 +342,8 @@ def formatar_resultados(resultados):
|
|
| 342 |
📊 Taxa Total: {taxa_percentual:.2f}% ({formatar_moeda(taxa_total)})
|
| 343 |
🗓️ Taxa Mensal: {taxa_mensal:.2f}%
|
| 344 |
🗓️ Taxa Anual: {taxa_mensal * 12:.2f}%
|
| 345 |
-
|
| 346 |
⏰ TEMPO DE PARCELAS:
|
| 347 |
{tempo_parcelas if tempo_parcelas else "Não foi possível calcular o tempo de parcelas"}
|
| 348 |
-
|
| 349 |
"""
|
| 350 |
return resposta
|
| 351 |
|
|
@@ -464,4 +462,5 @@ with gr.Blocks(title="Sistema de Busca de Consórcio Imóvel") as demo:
|
|
| 464 |
|
| 465 |
# Inicia o aplicativo Gradio
|
| 466 |
if __name__ == "__main__":
|
| 467 |
-
demo.launch()
|
|
|
|
|
|
| 342 |
📊 Taxa Total: {taxa_percentual:.2f}% ({formatar_moeda(taxa_total)})
|
| 343 |
🗓️ Taxa Mensal: {taxa_mensal:.2f}%
|
| 344 |
🗓️ Taxa Anual: {taxa_mensal * 12:.2f}%
|
|
|
|
| 345 |
⏰ TEMPO DE PARCELAS:
|
| 346 |
{tempo_parcelas if tempo_parcelas else "Não foi possível calcular o tempo de parcelas"}
|
|
|
|
| 347 |
"""
|
| 348 |
return resposta
|
| 349 |
|
|
|
|
| 462 |
|
| 463 |
# Inicia o aplicativo Gradio
|
| 464 |
if __name__ == "__main__":
|
| 465 |
+
demo.launch()
|
| 466 |
+
#
|