MeYourHint commited on
Commit
fae76be
·
1 Parent(s): 2cbaf0c
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -2
app.py CHANGED
@@ -85,7 +85,7 @@ def generate(
85
  ):
86
  os.system(f'python gen_t2m.py --gpu_id 0 --seed {seed} --ext {uid} --repeat_times {repeat_times} --motion_length {motion_length} --text_prompt {text}')
87
  datas = []
88
- for n in repeat_times:
89
  data_unit = {
90
  "url": f"./generation/{uid}/animations/0/sample0_repeat{n}_len196_ik.mp4"
91
  }
 
85
  ):
86
  os.system(f'python gen_t2m.py --gpu_id 0 --seed {seed} --ext {uid} --repeat_times {repeat_times} --motion_length {motion_length} --text_prompt {text}')
87
  datas = []
88
+ for n in range(repeat_times):
89
  data_unit = {
90
  "url": f"./generation/{uid}/animations/0/sample0_repeat{n}_len196_ik.mp4"
91
  }
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  clip
2
  chumpy
3
  einops==0.6.1
@@ -20,7 +21,7 @@ importlib-metadata==5.0.0
20
  importlib-resources==5.12.0
21
  joblib
22
  matplotlib==3.1.3
23
- numpy
24
  oauthlib==3.2.2
25
  orjson==3.9.7
26
  Pillow==9.2.0
@@ -29,7 +30,6 @@ scikit-learn
29
  scipy
30
  smplx==0.1.28
31
  sniffio==1.3.0
32
- --extra-index-url https://download.pytorch.org/whl/cu113
33
  torch==1.12.0
34
  torch-tb-profiler
35
  torchaudio
 
1
+ --extra-index-url https://download.pytorch.org/whl/cu113
2
  clip
3
  chumpy
4
  einops==0.6.1
 
21
  importlib-resources==5.12.0
22
  joblib
23
  matplotlib==3.1.3
24
+ numpy==1.21.5
25
  oauthlib==3.2.2
26
  orjson==3.9.7
27
  Pillow==9.2.0
 
30
  scipy
31
  smplx==0.1.28
32
  sniffio==1.3.0
 
33
  torch==1.12.0
34
  torch-tb-profiler
35
  torchaudio