mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-12 15:50:07 -08:00
Merge pull request #660 from benjamindoron/main
utils_infer.py: Fix pathing issue that prevents importing BigVGAN
This commit is contained in:
@@ -4,7 +4,7 @@ import os
|
||||
import sys
|
||||
|
||||
os.environ["PYTOCH_ENABLE_MPS_FALLBACK"] = "1" # for MPS device compatibility
|
||||
sys.path.append(f"../../{os.path.dirname(os.path.abspath(__file__))}/third_party/BigVGAN/")
|
||||
sys.path.append(f"{os.path.dirname(os.path.abspath(__file__))}/../../third_party/BigVGAN/")
|
||||
|
||||
import hashlib
|
||||
import re
|
||||
|
||||
Reference in New Issue
Block a user