Fix gui.py (#365)

There seemed to be some conflicts between #338 and #340, so I corrected them.
This commit is contained in:
Ftps 2023-05-28 21:52:05 +09:00 committed by GitHub
parent 4b0c86fbeb
commit 7789c46ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

3
gui.py
View File

@ -14,7 +14,7 @@ import os, sys, traceback
now_dir = os.getcwd()
sys.path.append(now_dir)
from config import Config as MyConfig
from config import Config
Config = Config()
import PySimpleGUI as sg
@ -48,7 +48,6 @@ class RVC:
初始化
"""
try:
self.config = MyConfig()
self.f0_up_key = key
self.time_step = 160 / 16000 * 1000
self.f0_min = 50