mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-07 18:20:23 +08:00
chore(format): run black on dev (#136)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
43d19eb00e
commit
96f7bccb12
@@ -42,6 +42,7 @@ is_half = sys.argv[5] == "True"
|
|||||||
if importlib.util.find_spec("torch_directml") is not None:
|
if importlib.util.find_spec("torch_directml") is not None:
|
||||||
import torch_directml # use side effect
|
import torch_directml # use side effect
|
||||||
|
|
||||||
|
|
||||||
class FeatureInput(object):
|
class FeatureInput(object):
|
||||||
def __init__(self, is_half: bool, device="cpu", samplerate=16000, hop_size=160):
|
def __init__(self, is_half: bool, device="cpu", samplerate=16000, hop_size=160):
|
||||||
self.fs = samplerate
|
self.fs = samplerate
|
||||||
|
|||||||
Reference in New Issue
Block a user