changevoice / engine.py
Tran Dang Khoa
Add application file
cafad09
Raw
History Blame Contribute Delete
344 Bytes
import os
class RVCEngine:
def __init__(self):
self.model_path="models/voice.pth"
self.index_path="models/voice.index"
self.device="cuda"
def load(self):
print("Loading RVC model...")
def convert(self,input_audio):
print("Converting:",input_audio)
return "output/output.wav"