metaambod / app.py
unijoh's picture
Create app.py
45bdfde verified
raw
history blame
353 Bytes
import gradio as gr
from asr import transcribe
def main():
asr_interface = gr.Interface(
fn=transcribe,
inputs=gr.Audio(type="filepath"),
outputs="text",
title="Faroese ASR Demo",
description="Automatic Speech Recognition for Faroese"
)
asr_interface.launch()
if __name__ == "__main__":
main()