File size: 344 Bytes
cafad09
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"