Spaces:
Runtime error
Runtime error
pipe = pipeline(model="NadiaHolmlund/Japanese_Fine_Tuned_Whisper_Model") | |
def transcribe(audio): | |
text = pipe(audio)["text"] | |
return text | |
iface_transcribe = gr.Interface( | |
fn=transcribe, | |
inputs=gr.Audio(source="microphone", type="filepath"), | |
outputs="text", | |
title="Whisper Tiny Japanese", | |
description="Realtime demo for Japanese speech recognition using a fine-tuned Whisper tiny model.", | |
) | |
iface_transcribe.launch() |