import gradio as gr MODEL_NAME = "leenag/Mal_ASR_Whisper_small_imasc_1000" demo = gr.load(model = MODEL_NAME, examples = [["./sample1.wav", "transcribe", False], ], description=("Transcribe microphone or audio inputs with the click of a button! This demo uses the "f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"" of arbitrary length." ), ) demo.launch()