anchorxia commited on
Commit
08840fb
1 Parent(s): b0d3e7d

update requirements

Browse files
Files changed (4) hide show
  1. .gitmodules +0 -3
  2. MMCM +0 -1
  3. app_gradio_space.py +2 -4
  4. musev +1 -0
.gitmodules CHANGED
@@ -1,6 +1,3 @@
1
- [submodule "MMCM"]
2
- path = MMCM
3
- url = https://github.com/TMElyralab/MMCM.git
4
  [submodule "MuseV"]
5
  path = MuseV
6
  url = https://github.com/TMElyralab/MuseV.git
 
 
 
 
1
  [submodule "MuseV"]
2
  path = MuseV
3
  url = https://github.com/TMElyralab/MuseV.git
MMCM DELETED
@@ -1 +0,0 @@
1
- Subproject commit 3a6ef08762f8bd9b50c09eb20402a13b74e839e3
 
 
app_gradio_space.py CHANGED
@@ -7,20 +7,18 @@ import gradio as gr
7
  import spaces
8
  import numpy as np
9
  import sys
 
10
 
11
  from huggingface_hub import snapshot_download
12
  import subprocess
13
 
14
 
15
- ProjectDir = os.path.abspath(os.path.dirname(__file__))
16
  CheckpointsDir = os.path.join(ProjectDir, "checkpoints")
17
  ignore_video2video = False
18
  max_image_edge = 960
19
 
20
- sys.path.insert(0, ProjectDir)
21
  sys.path.insert(0, f"{ProjectDir}/MMCM")
22
- sys.path.insert(0, f"{ProjectDir}/diffusers/src")
23
- sys.path.insert(0, f"{ProjectDir}/controlnet_aux/src")
24
  sys.path.insert(0, f"{ProjectDir}/scripts/gradio")
25
 
26
  result = subprocess.run(
 
7
  import spaces
8
  import numpy as np
9
  import sys
10
+ import PIL
11
 
12
  from huggingface_hub import snapshot_download
13
  import subprocess
14
 
15
 
16
+ ProjectDir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "MuseV")
17
  CheckpointsDir = os.path.join(ProjectDir, "checkpoints")
18
  ignore_video2video = False
19
  max_image_edge = 960
20
 
 
21
  sys.path.insert(0, f"{ProjectDir}/MMCM")
 
 
22
  sys.path.insert(0, f"{ProjectDir}/scripts/gradio")
23
 
24
  result = subprocess.run(
musev ADDED
@@ -0,0 +1 @@
 
 
1
+ MuseV/musev