sanchit-gandhi HF staff commited on
Commit
275d7e8
·
1 Parent(s): 88dd1aa

paragraphs

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -117,16 +117,16 @@ if __name__ == "__main__":
117
  )
118
  gr.HTML(
119
  f"""
120
- <a href="https://huggingface.co/distil-whisper/distil-large-v2"> Distil-Whisper</a> is a distilled variant
121
  of the <a href="https://huggingface.co/openai/whisper-large-v2"> Whisper</a> model by OpenAI. Compared to Whisper,
122
  Distil-Whisper runs 6x faster with 50% fewer parameters, while performing to within 1% word error rate (WER) on
123
- out-of-distribution evaluation data.
124
 
125
- In this demo, we perform a speed comparison between Whisper and Distil-Whisper in order to test this claim.
126
  Both models use the <a href="https://huggingface.co/distil-whisper/distil-large-v2#long-form-transcription"> chunked long-form transcription algorithm</a>
127
  in 🤗 Transformers, as well as Flash Attention. To use Distil-Whisper yourself, check the code examples on the
128
  <a href="https://github.com/huggingface/distil-whisper#1-usage"> Distil-Whisper repository</a>. To ensure fair
129
- usage of the Space, we ask that audio file inputs are kept to < 30 mins.
130
  """
131
  )
132
  audio = gr.components.Audio(type="filepath", label="Audio input")
 
117
  )
118
  gr.HTML(
119
  f"""
120
+ <p><a href="https://huggingface.co/distil-whisper/distil-large-v2"> Distil-Whisper</a> is a distilled variant
121
  of the <a href="https://huggingface.co/openai/whisper-large-v2"> Whisper</a> model by OpenAI. Compared to Whisper,
122
  Distil-Whisper runs 6x faster with 50% fewer parameters, while performing to within 1% word error rate (WER) on
123
+ out-of-distribution evaluation data.</p>
124
 
125
+ <p>In this demo, we perform a speed comparison between Whisper and Distil-Whisper in order to test this claim.
126
  Both models use the <a href="https://huggingface.co/distil-whisper/distil-large-v2#long-form-transcription"> chunked long-form transcription algorithm</a>
127
  in 🤗 Transformers, as well as Flash Attention. To use Distil-Whisper yourself, check the code examples on the
128
  <a href="https://github.com/huggingface/distil-whisper#1-usage"> Distil-Whisper repository</a>. To ensure fair
129
+ usage of the Space, we ask that audio file inputs are kept to < 30 mins.</p>
130
  """
131
  )
132
  audio = gr.components.Audio(type="filepath", label="Audio input")