Spaces:
Running on Zero
Running on Zero
| 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" |