Arthur-Attili commited on
Commit
9f9550a
·
verified ·
1 Parent(s): c5c69b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -91,7 +91,6 @@ def buscar_combinacoes(credito, entrada, parcela, adm_selecionadas):
91
  if not grupos:
92
  return "🚫 Nenhuma cota encontrada com os filtros."
93
 
94
- # Tolerâncias
95
  if credito > 5000000:
96
  tol_cred, tol_ent, tol_par = 0.50, 0.50, 1.00
97
  max_cotas = 25
@@ -176,7 +175,7 @@ def formatar_resultados(resultados):
176
  # Carrega a planilha antes de iniciar
177
  carregar_planilha()
178
 
179
- # Cria a interface com gr.Interface (mais robusto)
180
  demo = gr.Interface(
181
  fn=buscar_combinacoes,
182
  inputs=[
 
91
  if not grupos:
92
  return "🚫 Nenhuma cota encontrada com os filtros."
93
 
 
94
  if credito > 5000000:
95
  tol_cred, tol_ent, tol_par = 0.50, 0.50, 1.00
96
  max_cotas = 25
 
175
  # Carrega a planilha antes de iniciar
176
  carregar_planilha()
177
 
178
+ # Interface usando gr.Interface (API automática em /api/predict)
179
  demo = gr.Interface(
180
  fn=buscar_combinacoes,
181
  inputs=[