File size: 353 Bytes
45bdfde
 
 
 
 
 
5de52f2
45bdfde
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()