Spaces:
Running
Running
File size: 514 Bytes
2c7b92a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
from inference import InferencePipeline
i = InferencePipeline()
demo = gr.Blocks()
mic_transcribe = gr.Interface(
fn=i.voice_conversion,
inputs=gr.inputs.Audio(source="microphone", type="filepath", label="Record or upload your voice"),
outputs=gr.outputs.Audio(label="Converted Voice"),
title="Voice Conversion Demo",
description="Voice Conversion: Transform the input voice to a target voice.",
allow_flagging="never",
)
if __name__ == "__main__":
demo.launch() |