Spaces:
Runtime error
Runtime error
Commit
Β·
c8d42d2
1
Parent(s):
b5b2be2
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,7 +227,6 @@ with block:
|
|
| 227 |
|
| 228 |
with gr.Group():
|
| 229 |
with gr.Box():
|
| 230 |
-
|
| 231 |
audio = gr.Audio(
|
| 232 |
label="Input Audio",
|
| 233 |
show_label=False,
|
|
@@ -256,11 +255,11 @@ with block:
|
|
| 256 |
|
| 257 |
btn.click(inference, inputs=[audio, sentiment_option], outputs=[lang_str, text, sentiment_output, prediction,language_translation])
|
| 258 |
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
|
| 266 |
block.launch()
|
|
|
|
| 227 |
|
| 228 |
with gr.Group():
|
| 229 |
with gr.Box():
|
|
|
|
| 230 |
audio = gr.Audio(
|
| 231 |
label="Input Audio",
|
| 232 |
show_label=False,
|
|
|
|
| 255 |
|
| 256 |
btn.click(inference, inputs=[audio, sentiment_option], outputs=[lang_str, text, sentiment_output, prediction,language_translation])
|
| 257 |
|
| 258 |
+
gr.HTML('''
|
| 259 |
+
<div class="footer">
|
| 260 |
+
<p>Model by <a href="https://github.com/openai/whisper" style="text-decoration: underline;" target="_blank">OpenAI</a>
|
| 261 |
+
</p>
|
| 262 |
+
</div>
|
| 263 |
+
''')
|
| 264 |
|
| 265 |
block.launch()
|