Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
71f87cb
1
Parent(s):
d057ee3
update webui
Browse files
webui.py
CHANGED
@@ -25,7 +25,6 @@ parser.add_argument("--model_dir", type=str, default="checkpoints", help="Model
|
|
25 |
parser.add_argument("--is_fp16", action="store_true", default=False, help="Fp16 infer")
|
26 |
cmd_args = parser.parse_args()
|
27 |
from huggingface_hub import snapshot_download
|
28 |
-
os.environ['HF_HUB_CACHE'] = './checkpoints/hf_cache'
|
29 |
snapshot_download(repo_id="IndexTeam/IndexTTS-2", local_dir="./checkpoints")
|
30 |
|
31 |
if not os.path.exists(cmd_args.model_dir):
|
|
|
25 |
parser.add_argument("--is_fp16", action="store_true", default=False, help="Fp16 infer")
|
26 |
cmd_args = parser.parse_args()
|
27 |
from huggingface_hub import snapshot_download
|
|
|
28 |
snapshot_download(repo_id="IndexTeam/IndexTTS-2", local_dir="./checkpoints")
|
29 |
|
30 |
if not os.path.exists(cmd_args.model_dir):
|