mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-12-21 14:09:41 +01:00
Format code (#330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
067731db9b
commit
cfd9848128
@@ -2,6 +2,7 @@ import argparse
|
||||
import torch
|
||||
from multiprocessing import cpu_count
|
||||
|
||||
|
||||
def config_file_change_fp32():
|
||||
for config_file in ["32k.json", "40k.json", "48k.json"]:
|
||||
with open(f"configs/{config_file}", "r") as f:
|
||||
@@ -13,6 +14,7 @@ def config_file_change_fp32():
|
||||
with open("trainset_preprocess_pipeline_print.py", "w") as f:
|
||||
f.write(strr)
|
||||
|
||||
|
||||
class Config:
|
||||
def __init__(self):
|
||||
self.device = "cuda:0"
|
||||
|
||||
Reference in New Issue
Block a user