File size: 329 Bytes
fe667e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr
import os
from infer.modules.vc.modules import VC

def load_model_and_convert(audio_file):
    # আপনার RVC কোড এখানে
    return "converted_audio.wav"

iface = gr.Interface(
    fn=load_model_and_convert,
    inputs=gr.Audio(type="filepath"),
    outputs=gr.Audio()
)

iface.launch()