Spaces:
Paused
Paused
Update app.py
Browse files
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:
|
|
|
|
|
|
|
| 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...")
|