aducsdr commited on
Commit
3fc9386
verified
1 Parent(s): 91b2426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -32,7 +32,9 @@ print(f"Diret贸rio atual adicionado ao sys.path.")
32
  # --- ETAPA 3: Instalar Depend锚ncias Corretamente ---
33
  python_executable = sys.executable
34
 
35
- # CORRE脟脙O: Instalar flash-attn e Apex a partir do c贸digo-fonte para garantir a compatibilidade.
 
 
36
 
37
  # Instalar flash-attn
38
  print("Instalando flash-attn...")
 
32
  # --- ETAPA 3: Instalar Depend锚ncias Corretamente ---
33
  python_executable = sys.executable
34
 
35
+ # CORRE脟脙O FINAL: Atualiza o pip para garantir que as flags de build mais recentes estejam dispon铆veis
36
+ print("Atualizando o pip...")
37
+ subprocess.run([python_executable, "-m", "pip", "install", "--upgrade", "pip"], check=True)
38
 
39
  # Instalar flash-attn
40
  print("Instalando flash-attn...")