File size: 290 Bytes
930aa22
61857f5
512b9f3
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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()