Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ import uuid
|
|
14 |
|
15 |
is_shared_ui = True if "fffiloni/tts-hallo-talking-portrait" in os.environ['SPACE_ID'] else False
|
16 |
|
|
|
|
|
17 |
AUDIO_MAX_DURATION = 4000
|
18 |
|
19 |
#############
|
|
|
14 |
|
15 |
is_shared_ui = True if "fffiloni/tts-hallo-talking-portrait" in os.environ['SPACE_ID'] else False
|
16 |
|
17 |
+
hallo_dir = snapshot_download(repo_id="fudan-generative-ai/hallo", local_dir="pretrained_models")
|
18 |
+
|
19 |
AUDIO_MAX_DURATION = 4000
|
20 |
|
21 |
#############
|