talalif commited on
Commit
cecc2bb
·
verified ·
1 Parent(s): d8647a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -10,4 +10,12 @@ subprocess.run(["mim", "install", "mmengine"])
10
  subprocess.run(["mim", "install", "mmcv>=2.0.1"])
11
  subprocess.run(["mim", "install", "mmdet>=3.1.0"])
12
  subprocess.run(["mim", "install", "mmpose>=1.1.0"])
13
- os.chdir("..")
 
 
 
 
 
 
 
 
 
10
  subprocess.run(["mim", "install", "mmcv>=2.0.1"])
11
  subprocess.run(["mim", "install", "mmdet>=3.1.0"])
12
  subprocess.run(["mim", "install", "mmpose>=1.1.0"])
13
+ subprocess.run(["git", "clone", "--recursive", "https://github.com/fat-ai/MuseV.git"])
14
+ os.chdir("..")
15
+
16
+ command = "\"import sys; sys.path.append('./MuseV/MuseV'); sys.path.append('./MuseV/MuseV/MMCM'); sys.path.append('./MuseV/MuseV/diffusers/src'); sys.path.append('./MuseV/MuseV/controlnet_aux/src')\""
17
+ subprocess.run(["python","-c",command])
18
+
19
+ os.chdir("./MuseV")
20
+ subprocess.run(["git", "clone", "https://huggingface.co/TMElyralab/MuseV", "./checkpoints"])
21
+