mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-03-09 23:34:54 +08:00
Format code (#874)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
85d0d709e0
commit
232213a522
@ -5,7 +5,13 @@ from multiprocessing import cpu_count
|
||||
|
||||
|
||||
def use_fp32_config():
|
||||
for config_file in ["32k.json", "40k.json", "48k.json", "48k_v2.json", "32k_v2.json"]:
|
||||
for config_file in [
|
||||
"32k.json",
|
||||
"40k.json",
|
||||
"48k.json",
|
||||
"48k_v2.json",
|
||||
"32k_v2.json",
|
||||
]:
|
||||
with open(f"configs/{config_file}", "r") as f:
|
||||
strr = f.read().replace("true", "false")
|
||||
with open(f"configs/{config_file}", "w") as f:
|
||||
|
@ -1,6 +1,7 @@
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
now_dir = os.getcwd()
|
||||
sys.path.append(now_dir)
|
||||
import traceback, pdb
|
||||
|
Loading…
Reference in New Issue
Block a user