Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,11 +14,11 @@ def classify_audio(filepath):
|
|
14 |
import gradio as gr
|
15 |
|
16 |
description = '''
|
17 |
-
|
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(
|
|
|
14 |
import gradio as gr
|
15 |
|
16 |
description = '''
|
17 |
+
Record the following text and submit to obtain best guesses for your accent region:
|
|
|
|
|
18 |
|
19 |
> 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.
|
20 |
+
|
21 |
+
Note that it's only designed for Anglosphere accents (North American, British, and Australian / New Zealand). The top listed guess matches the birthplace region only ~30% of the time, but the model is rather reliable at guessing whether the accent is North American or British.
|
22 |
'''
|
23 |
|
24 |
demo = gr.Interface(
|