kavyamanohar commited on
Commit
97d5aeb
1 Parent(s): d5e19db

Add Description

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -1,8 +1,11 @@
1
  import gradio as gr
 
2
 
3
- demo = gr.load("models/leenag/Mal_ASR_Whisper_small_imasc_1000",
4
- examples=[
5
- ["./sample1.wav", "transcribe", False],
6
- ],)
 
 
7
 
8
  demo.launch()
 
1
  import gradio as gr
2
+ MODEL_NAME = "leenag/Mal_ASR_Whisper_small_imasc_1000"
3
 
4
+ demo = gr.load(model = MODEL_NAME,
5
+ examples = [["./sample1.wav", "transcribe", False],
6
+ ],
7
+ 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."
8
+ ),
9
+ )
10
 
11
  demo.launch()