hktoen / app.py
reallynicejam's picture
Update app.py
070da69 verified
raw
history blame
324 Bytes
import gradio as gr
def pass_audio(audio):
return audio
gr.Interface(
fn=pass_audio,
inputs=gr.Audio(source="microphone", type="file", label="Speak something"),
outputs=gr.Audio(type="file", label="Your Recorded Audio"),
live=True
).launch()
gr.load("models/facebook/xm_transformer_s2ut_hk-en").launch()