metaambod / app.py
unijoh's picture
Update app.py
11fd03f verified
raw
history blame
386 Bytes
import gradio as gr
from asr import transcribe
def main():
asr_interface = gr.Interface(
fn=transcribe,
inputs=gr.Audio(type="filepath"), # Removed the 'source' argument
outputs="text",
title="Faroese ASR Demo",
description="Automatic Speech Recognition for Faroese"
)
asr_interface.launch()
if __name__ == "__main__":
main()