Spaces:
Runtime error
Runtime error
Rachid Ammari
commited on
Commit
•
99a5348
1
Parent(s):
dc1b498
added examples
Browse files- 6_Steps_To_Hit_ANY_Goal.mp3000.mp3 +0 -0
- app.py +2 -2
- podcast-bdl-episode-5-mix-v2.mp3000.mp3 +0 -0
6_Steps_To_Hit_ANY_Goal.mp3000.mp3
ADDED
Binary file (992 kB). View file
|
|
app.py
CHANGED
@@ -30,10 +30,10 @@ def load_models(lang):
|
|
30 |
title = "Speech2text comparison (Wav2vec vs Whisper)"
|
31 |
description = """
|
32 |
This Space allows easy comparisons for transcribed texts between Facebook's Wav2vec model and newly released OpenAI's Whisper model.\n
|
33 |
-
(Even if Whisper includes a language detection, here we have decided to select the language to speed up the
|
34 |
"""
|
35 |
article = "Check out [the OpenAI Whisper model](https://github.com/openai/whisper) and [the Facebook Wav2vec model](https://ai.facebook.com/blog/wav2vec-20-learning-the-structure-of-speech-from-raw-audio/) that this demo is based off of."
|
36 |
-
examples = [["en", None, "english_sentence.flac"], ["fr", None, "2022-a-Droite-un-fauteuil-pour-trois-3034044.mp3000.mp3"]]
|
37 |
|
38 |
gr.Interface(
|
39 |
fn=transcribe_audio,
|
|
|
30 |
title = "Speech2text comparison (Wav2vec vs Whisper)"
|
31 |
description = """
|
32 |
This Space allows easy comparisons for transcribed texts between Facebook's Wav2vec model and newly released OpenAI's Whisper model.\n
|
33 |
+
(Even if Whisper includes a language detection and even an automatic translation, here we have decided to select the language to speed up the transcription and to focus only on the quality of the transcriptions. The default language is english)
|
34 |
"""
|
35 |
article = "Check out [the OpenAI Whisper model](https://github.com/openai/whisper) and [the Facebook Wav2vec model](https://ai.facebook.com/blog/wav2vec-20-learning-the-structure-of-speech-from-raw-audio/) that this demo is based off of."
|
36 |
+
examples = [["en", None, "english_sentence.flac"], ["en", None, "6_Steps_To_Hit_ANY_Goal.mp3000.mp3"], ["fr", None, "2022-a-Droite-un-fauteuil-pour-trois-3034044.mp3000.mp3"], ["fr", None, "podcast-bdl-episode-5-mix-v2.mp3000.mp3"]]
|
37 |
|
38 |
gr.Interface(
|
39 |
fn=transcribe_audio,
|
podcast-bdl-episode-5-mix-v2.mp3000.mp3
ADDED
Binary file (961 kB). View file
|
|