Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
| 8 |
|
| 9 |
model = whisper.load_model("small")
|
| 10 |
wikipedia.set_lang("en")
|
| 11 |
-
passage = wikipedia.summary("
|
| 12 |
|
| 13 |
|
| 14 |
|
|
@@ -183,7 +183,8 @@ with block:
|
|
| 183 |
</h1>
|
| 184 |
</div>
|
| 185 |
<p style="margin-bottom: 10px; font-size: 94%">
|
| 186 |
-
|
|
|
|
| 187 |
</p>
|
| 188 |
</div>
|
| 189 |
"""
|
|
|
|
| 8 |
|
| 9 |
model = whisper.load_model("small")
|
| 10 |
wikipedia.set_lang("en")
|
| 11 |
+
passage = wikipedia.summary("pirate code", sentences=2)
|
| 12 |
|
| 13 |
|
| 14 |
|
|
|
|
| 183 |
</h1>
|
| 184 |
</div>
|
| 185 |
<p style="margin-bottom: 10px; font-size: 94%">
|
| 186 |
+
|
| 187 |
+
The point of the game is to say the given text as fast as possible without errors. Each error adds a one second penaly to the final time and is measured by the WER metric multiplied by text length. The STT is powered by Whisper, a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification. This demo cuts audio after around 30 secs.
|
| 188 |
</p>
|
| 189 |
</div>
|
| 190 |
"""
|