Spaces:
Running
on
Zero
Running
on
Zero
Update webgui.py
Browse files
webgui.py
CHANGED
@@ -27,6 +27,14 @@ import argparse
|
|
27 |
|
28 |
import gradio as gr
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
default_values = {
|
31 |
"width": 512,
|
32 |
"height": 512,
|
@@ -265,5 +273,5 @@ args = parser.parse_args()
|
|
265 |
# demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|
266 |
|
267 |
if __name__ == '__main__':
|
268 |
-
|
269 |
-
demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|
|
|
27 |
|
28 |
import gradio as gr
|
29 |
|
30 |
+
import huggingface_hub
|
31 |
+
|
32 |
+
huggingface_hub.snapshot_download(
|
33 |
+
repo_id='BadToBest/EchoMimic',
|
34 |
+
local_dir='./pretrained_weights',
|
35 |
+
local_dir_use_symlinks=False,
|
36 |
+
)
|
37 |
+
|
38 |
default_values = {
|
39 |
"width": 512,
|
40 |
"height": 512,
|
|
|
273 |
# demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|
274 |
|
275 |
if __name__ == '__main__':
|
276 |
+
demo.launch()
|
277 |
+
#demo.launch(server_name=args.server_name, server_port=args.server_port, inbrowser=True)
|