Spaces:
Runtime error
Runtime error
JackismyShephard
commited on
Commit
•
190820c
1
Parent(s):
c1ce43e
fix spelling
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ file_classify = gr.Interface(
|
|
27 |
fn=classify_audio,
|
28 |
inputs= gr.Audio(sources=["upload"], label="Audio file", type="filepath"),
|
29 |
outputs=gr.Label(),
|
30 |
-
title="Classify
|
31 |
description=(
|
32 |
"Classify long-form audio or microphone inputs with the click of a button! Demo uses the"
|
33 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to classify audio files"
|
@@ -42,7 +42,7 @@ mic_classify = gr.Interface(
|
|
42 |
fn=classify_audio,
|
43 |
inputs= gr.Audio(sources=["microphone"], type="filepath"),
|
44 |
outputs= gr.Label(),
|
45 |
-
title="Classify
|
46 |
description=(
|
47 |
"Classify long-form audio or microphone inputs with the click of a button! Demo uses the"
|
48 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to classify audio files"
|
@@ -52,6 +52,6 @@ mic_classify = gr.Interface(
|
|
52 |
)
|
53 |
|
54 |
with demo:
|
55 |
-
gr.TabbedInterface([file_classify, mic_classify], ["Classify Audio File", "
|
56 |
|
57 |
demo.launch()
|
|
|
27 |
fn=classify_audio,
|
28 |
inputs= gr.Audio(sources=["upload"], label="Audio file", type="filepath"),
|
29 |
outputs=gr.Label(),
|
30 |
+
title="Classify Genres of Music",
|
31 |
description=(
|
32 |
"Classify long-form audio or microphone inputs with the click of a button! Demo uses the"
|
33 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to classify audio files"
|
|
|
42 |
fn=classify_audio,
|
43 |
inputs= gr.Audio(sources=["microphone"], type="filepath"),
|
44 |
outputs= gr.Label(),
|
45 |
+
title="Classify Genres of Music",
|
46 |
description=(
|
47 |
"Classify long-form audio or microphone inputs with the click of a button! Demo uses the"
|
48 |
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to classify audio files"
|
|
|
52 |
)
|
53 |
|
54 |
with demo:
|
55 |
+
gr.TabbedInterface([file_classify, mic_classify], ["Classify Audio File", "Classify Microphone Input"])
|
56 |
|
57 |
demo.launch()
|