Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def load_file_from_url(url, model_dir='.', progress=True, file_name=None):
|
|
55 |
return cached_file
|
56 |
|
57 |
# Baixar e instalar Apex pré-compilado (crucial para o ambiente do Spaces)
|
58 |
-
apex_url = 'https://huggingface.co/ByteDance-Seed/SeedVR2-3B/resolve/main/apex-0.1-
|
59 |
apex_wheel_path = load_file_from_url(url=apex_url)
|
60 |
print("Instalando Apex a partir do wheel baixado...")
|
61 |
subprocess.run([python_executable, "-m", "pip", "install", "--force-reinstall", "--no-cache-dir", apex_wheel_path], check=True)
|
|
|
55 |
return cached_file
|
56 |
|
57 |
# Baixar e instalar Apex pré-compilado (crucial para o ambiente do Spaces)
|
58 |
+
apex_url = 'https://huggingface.co/ByteDance-Seed/SeedVR2-3B/resolve/main/apex-0.1-cp310-cp310-linux_x86_64.whl'
|
59 |
apex_wheel_path = load_file_from_url(url=apex_url)
|
60 |
print("Instalando Apex a partir do wheel baixado...")
|
61 |
subprocess.run([python_executable, "-m", "pip", "install", "--force-reinstall", "--no-cache-dir", apex_wheel_path], check=True)
|