Spaces:
Runtime error
Runtime error
silvesterjk
commited on
Commit
·
b9d39d0
1
Parent(s):
6ef2dba
Update app.py
Browse files
app.py
CHANGED
@@ -159,11 +159,11 @@ with block:
|
|
159 |
<rect x="23" y="69" width="23" height="23" fill="black"></rect>
|
160 |
</svg>
|
161 |
<h1 style="font-weight: 900; margin-bottom: 7px;">
|
162 |
-
|
163 |
</h1>
|
164 |
</div>
|
165 |
<p style="margin-bottom: 10px; font-size: 94%">
|
166 |
-
|
167 |
</p>
|
168 |
</div>
|
169 |
"""
|
@@ -190,5 +190,12 @@ with block:
|
|
190 |
|
191 |
btn.click(inference, inputs=[audio], outputs=[text, community_icon, loading_icon, share_button])
|
192 |
share_button.click(None, [], [], _js=share_js)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
block.launch()
|
|
|
159 |
<rect x="23" y="69" width="23" height="23" fill="black"></rect>
|
160 |
</svg>
|
161 |
<h1 style="font-weight: 900; margin-bottom: 7px;">
|
162 |
+
Whisper
|
163 |
</h1>
|
164 |
</div>
|
165 |
<p style="margin-bottom: 10px; font-size: 94%">
|
166 |
+
Whisper is 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.
|
167 |
</p>
|
168 |
</div>
|
169 |
"""
|
|
|
190 |
|
191 |
btn.click(inference, inputs=[audio], outputs=[text, community_icon, loading_icon, share_button])
|
192 |
share_button.click(None, [], [], _js=share_js)
|
193 |
+
|
194 |
+
gr.HTML('''
|
195 |
+
<div class="footer">
|
196 |
+
<p>Model by <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a> - Gradio Demo by 🤗 Hugging Face
|
197 |
+
</p>
|
198 |
+
</div>
|
199 |
+
''')
|
200 |
|
201 |
block.launch()
|