mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-02-01 03:02:54 +08:00
Fix gui.py (#365)
There seemed to be some conflicts between #338 and #340, so I corrected them.
This commit is contained in:
parent
4b0c86fbeb
commit
7789c46ded
3
gui.py
3
gui.py
@ -14,7 +14,7 @@ import os, sys, traceback
|
|||||||
|
|
||||||
now_dir = os.getcwd()
|
now_dir = os.getcwd()
|
||||||
sys.path.append(now_dir)
|
sys.path.append(now_dir)
|
||||||
from config import Config as MyConfig
|
from config import Config
|
||||||
|
|
||||||
Config = Config()
|
Config = Config()
|
||||||
import PySimpleGUI as sg
|
import PySimpleGUI as sg
|
||||||
@ -48,7 +48,6 @@ class RVC:
|
|||||||
初始化
|
初始化
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
self.config = MyConfig()
|
|
||||||
self.f0_up_key = key
|
self.f0_up_key = key
|
||||||
self.time_step = 160 / 16000 * 1000
|
self.time_step = 160 / 16000 * 1000
|
||||||
self.f0_min = 50
|
self.f0_min = 50
|
||||||
|
Loading…
Reference in New Issue
Block a user