Spaces:
Runtime error
Runtime error
amoooooo
commited on
Commit
·
368202c
1
Parent(s):
391c2ed
Working Drive Link
Browse files
app.py
CHANGED
@@ -4,8 +4,7 @@ from PIL import Image
|
|
4 |
import subprocess
|
5 |
|
6 |
# Install necessary packages
|
7 |
-
os.system("pip install gradio
|
8 |
-
os.system("pip install torch")
|
9 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
10 |
|
11 |
# Clone the repository
|
@@ -14,7 +13,7 @@ os.chdir("bizarre-pose-estimator")
|
|
14 |
|
15 |
# Download necessary files
|
16 |
os.system("wget https://i.imgur.com/IkJzlaE.jpeg")
|
17 |
-
os.system("gdown https://drive.google.com/
|
18 |
|
19 |
# Unzip and move the model files
|
20 |
os.system("unzip bizarre_pose_models.zip")
|
|
|
4 |
import subprocess
|
5 |
|
6 |
# Install necessary packages
|
7 |
+
os.system("pip install gradio")
|
|
|
8 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
9 |
|
10 |
# Clone the repository
|
|
|
13 |
|
14 |
# Download necessary files
|
15 |
os.system("wget https://i.imgur.com/IkJzlaE.jpeg")
|
16 |
+
os.system("gdown https://drive.google.com/drive/folders/1HyOKbl2iLYNFVN3FuL3ENSe_L47Cxk69")
|
17 |
|
18 |
# Unzip and move the model files
|
19 |
os.system("unzip bizarre_pose_models.zip")
|