yerang commited on
Commit
8e54d25
1 Parent(s): 67d559f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -21,9 +21,7 @@ import torch
21
  from elevenlabs_utils import ElevenLabsPipeline
22
  from setup_environment import initialize_environment
23
  from src.utils.video import extract_audio
24
- #from flux_dev import create_flux_tab
25
- #from flux_schnell import create_flux_tab
26
- # from diffusers import FluxPipeline
27
  import os
28
  import sys
29
 
@@ -32,18 +30,16 @@ import sys
32
  # gdown.download_folder(url=folder_url, output="pretrained_weights", quiet=False)
33
 
34
 
35
-
36
-
37
-
38
  initialize_environment()
39
 
40
 
41
  sys.path.extend([
42
  '/home/user/.local/lib/python3.10/site-packages',
43
  '/home/user/app/',
44
- '/home/user/app/stf/',
45
- '/home/user/app/stf/stf_alternative/',
46
- '/home/user/app/stf/stf_tools'
47
  ])
48
 
49
  # sys.path.append('/home/user/.local/lib/python3.10/site-packages')
 
21
  from elevenlabs_utils import ElevenLabsPipeline
22
  from setup_environment import initialize_environment
23
  from src.utils.video import extract_audio
24
+ from download import download_files_from_url
 
 
25
  import os
26
  import sys
27
 
 
30
  # gdown.download_folder(url=folder_url, output="pretrained_weights", quiet=False)
31
 
32
 
33
+ download_files_from_url()
 
 
34
  initialize_environment()
35
 
36
 
37
  sys.path.extend([
38
  '/home/user/.local/lib/python3.10/site-packages',
39
  '/home/user/app/',
40
+ '/tmp/stf/',
41
+ '/tmp/stf/stf_alternative/',
42
+
43
  ])
44
 
45
  # sys.path.append('/home/user/.local/lib/python3.10/site-packages')