Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,9 @@ def download_liveportrait():
|
|
33 |
os.system(f"git clone https://github.com/KwaiVGI/LivePortrait.git {liveportrait_path}")
|
34 |
|
35 |
# 安装依赖
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
# 构建 MultiScaleDeformableAttention 模块
|
41 |
dependency_path = "src/utils/dependencies/XPose/models/UniPose/ops"
|
|
|
33 |
os.system(f"git clone https://github.com/KwaiVGI/LivePortrait.git {liveportrait_path}")
|
34 |
|
35 |
# 安装依赖
|
36 |
+
os.chdir(liveportrait_path)
|
37 |
+
print("Installing LivePortrait dependencies...")
|
38 |
+
os.system("pip install -r requirements.txt")
|
39 |
|
40 |
# 构建 MultiScaleDeformableAttention 模块
|
41 |
dependency_path = "src/utils/dependencies/XPose/models/UniPose/ops"
|