fffiloni commited on
Commit
e8b9548
1 Parent(s): a02e343

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -11,13 +11,10 @@ from scripts.inference import inference_process
11
  import argparse
12
  import uuid
13
 
14
- is_shared_ui = True if "fudan-generative-ai/hallo" in os.environ['SPACE_ID'] else False
15
 
16
  AUDIO_MAX_DURATION = 4000
17
 
18
- if(not is_shared_ui):
19
- hallo_dir = snapshot_download(repo_id="fudan-generative-ai/hallo", local_dir="pretrained_models")
20
-
21
  #############
22
  # UTILITIES #
23
  #############
 
11
  import argparse
12
  import uuid
13
 
14
+ is_shared_ui = True if "fffiloni/tts-hallo-talking-portrait" in os.environ['SPACE_ID'] else False
15
 
16
  AUDIO_MAX_DURATION = 4000
17
 
 
 
 
18
  #############
19
  # UTILITIES #
20
  #############