sanchit-gandhi commited on
Commit
c993b6c
·
1 Parent(s): 38d85c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -67,9 +67,12 @@ mf_transcribe = gr.Interface(
67
  title="Whisper Demo: Transcribe Audio",
68
  description=(
69
  "Transcribe audio files with speaker diarization using 🤗 Speechbox. Demo uses the pre-trained checkpoint"
70
- f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) for ASR transcriptions and [PyAnnote Audio](https://huggingface.co/pyannote/speaker-diarization)"
71
- " to label the speakers."
72
  )
 
 
 
73
  allow_flagging="never",
74
  )
75
 
@@ -85,8 +88,8 @@ yt_transcribe = gr.Interface(
85
  title="Whisper Speaker Diarization Demo: Transcribe YouTube",
86
  description=(
87
  "Transcribe YouTube videos with speaker diarization using 🤗 Speechbox. Demo uses the pre-trained checkpoint"
88
- f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) for ASR transcriptions and [PyAnnote Audio](https://huggingface.co/pyannote/speaker-diarization)"
89
- " to label the speakers."
90
  )
91
  examples=[
92
  ["https://www.youtube.com/watch?v=9dAWIPixYxc", True],
 
67
  title="Whisper Demo: Transcribe Audio",
68
  description=(
69
  "Transcribe audio files with speaker diarization using 🤗 Speechbox. Demo uses the pre-trained checkpoint"
70
+ f" [Whisper Tiny](https://huggingface.co/openai/whisper-tiny) for the ASR transcriptions and"
71
+ f" [PyAnnote Audio](https://huggingface.co/pyannote/speaker-diarization) to label the speakers."
72
  )
73
+ examples=[
74
+ ["./sample.wav", True],
75
+ ],
76
  allow_flagging="never",
77
  )
78
 
 
88
  title="Whisper Speaker Diarization Demo: Transcribe YouTube",
89
  description=(
90
  "Transcribe YouTube videos with speaker diarization using 🤗 Speechbox. Demo uses the pre-trained checkpoint"
91
+ f" [Whisper Tiny](https://huggingface.co/openai/whisper-tiny) for the ASR transcriptions and"
92
+ f" [PyAnnote Audio](https://huggingface.co/pyannote/speaker-diarization) to label the speakers."
93
  )
94
  examples=[
95
  ["https://www.youtube.com/watch?v=9dAWIPixYxc", True],