Jumon commited on
Commit
48726fa
β€’
1 Parent(s): c085e34

update description

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. app.py +8 -13
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: Whisper Zero Shot Audio Classification
3
- emoji: 🌍
4
- colorFrom: pink
5
- colorTo: purple
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
- <p>
48
- This demo allows you to try out zero-shot audio classification using
49
- [Whisper](https://github.com/openai/whisper).
50
- </p>
51
- <p>Github: [https://github.com/jumon/zac](https://github.com/jumon/zac)</p>
52
- <p>
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,