Blane187 commited on
Commit
fd20222
1 Parent(s): c17e167

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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