Spaces:
Runtime error
Runtime error
Update description
Browse files
app.py
CHANGED
@@ -13,12 +13,20 @@ def classify_audio(filepath):
|
|
13 |
|
14 |
import gradio as gr
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
demo = gr.Interface(
|
17 |
fn=classify_audio,
|
18 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
19 |
outputs=gr.Label(),
|
20 |
title="Accent Guesser",
|
21 |
-
description=
|
22 |
)
|
23 |
|
24 |
demo.launch(debug=True)
|
|
|
13 |
|
14 |
import gradio as gr
|
15 |
|
16 |
+
description = '''
|
17 |
+
Only designed for Anglosphere accents (North American, British, and Australian / New Zealand). Top guess correctly guesses birthplace ~30% of the time, but it is pretty reliable at guessing whether the accent is North American or British.
|
18 |
+
|
19 |
+
Record the following text within 30 seconds and submit to guess accent:
|
20 |
+
|
21 |
+
> Please call Stella. Ask her to bring these things with her from the store: Six spoons of fresh snow peas, five thick slabs of blue cheese, and maybe a snack for her brother Bob. We also need a small plastic snake and a big toy frog for the kids. She can scoop these things into three red bags, and we will go meet her Wednesday at the train station.
|
22 |
+
'''
|
23 |
+
|
24 |
demo = gr.Interface(
|
25 |
fn=classify_audio,
|
26 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
27 |
outputs=gr.Label(),
|
28 |
title="Accent Guesser",
|
29 |
+
description=description
|
30 |
)
|
31 |
|
32 |
demo.launch(debug=True)
|