rubel / app.py
rubel09's picture
Create app.py
fe667e9 verified
raw
history blame contribute delete
329 Bytes
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()