Update gui_v1.py

This commit is contained in:
RVC-Boss 2023-08-30 19:00:27 +08:00 committed by GitHub
parent 47148851f8
commit 9a4b4d0271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ import pdb
import sys
os.environ["OMP_NUM_THREADS"] = "2"
os.environ["rmvpe_root"] = "assets/rmvpe"
if sys.platform == "darwin":
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"