Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
import subprocess
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
def rvc_infer(model, input_wav, fu, fmethod):
|
5 |
output_wav = "output.wav" # Define a path for the output file
|
|
|
1 |
import gradio as gr
|
2 |
import subprocess
|
3 |
+
import os
|
4 |
+
|
5 |
+
os.system("rvc init")
|
6 |
+
os.system("rvc env create")
|
7 |
+
os.system("rvc dlmodel")
|
8 |
+
|
9 |
|
10 |
def rvc_infer(model, input_wav, fu, fmethod):
|
11 |
output_wav = "output.wav" # Define a path for the output file
|