sp-space2 / app.py
Shokoufehhh's picture
Update app.py
512b9f3 verified
raw
history blame
290 Bytes
import gradio as gr
# Load the model using Gradio's load_model method
model = gr.load("models/speechbrain/metricgan-plus-voicebank")
# Create an interface for the model with a function
iface = gr.Interface(fn=model, inputs="audio", outputs="audio")
# Launch the interface
iface.launch()