Spaces:
Runtime error
Runtime error
update description
Browse files
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.12.0
|
8 |
app_file: app.py
|
|
|
1 |
---
|
2 |
+
title: Zero-shot Audio Classification using Whisper
|
3 |
+
emoji: ππ’
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.12.0
|
8 |
app_file: app.py
|
app.py
CHANGED
@@ -42,19 +42,14 @@ def main():
|
|
42 |
for audio_path in AUDIO_PATHS:
|
43 |
EXAMPLES.append([audio_path, CLASS_NAMES, "small"])
|
44 |
|
45 |
-
DESCRIPTION =
|
46 |
-
<div style="text-align: center;">
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
Example audio files are from the [ESC-50](https://github.com/karolpiczak/ESC-50)
|
54 |
-
dataset (CC BY-NC 3.0).
|
55 |
-
</p>
|
56 |
-
</div>
|
57 |
-
"""
|
58 |
|
59 |
demo = gr.Interface(
|
60 |
fn=zero_shot_classify,
|
|
|
42 |
for audio_path in AUDIO_PATHS:
|
43 |
EXAMPLES.append([audio_path, CLASS_NAMES, "small"])
|
44 |
|
45 |
+
DESCRIPTION = (
|
46 |
+
'<div style="text-align: center;">'
|
47 |
+
"<p>This demo allows you to try out zero-shot audio classification using "
|
48 |
+
"<a href=https://github.com/openai/whisper>Whisper</a>.</p>"
|
49 |
+
"<p>Github: <a href=https://github.com/jumon/zac>https://github.com/jumon/zac</a></p>"
|
50 |
+
"<p>Example audio files are from the <a href=https://github.com/karolpiczak/ESC-50>ESC-50"
|
51 |
+
"</a> dataset (CC BY-NC 3.0).</p></div>"
|
52 |
+
)
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
demo = gr.Interface(
|
55 |
fn=zero_shot_classify,
|