Adal Abilbekov
commited on
Commit
•
b4d320e
1
Parent(s):
9dc2f5b
Adding an exmaple
Browse files- Akzhol_happy.wav +0 -0
- app.py +2 -1
Akzhol_happy.wav
ADDED
Binary file (235 kB). View file
|
|
app.py
CHANGED
@@ -43,6 +43,7 @@ def get_probs(audio):
|
|
43 |
|
44 |
mic = gr.Audio(sources="microphone", type="numpy", label="Speak here...")
|
45 |
label = gr.Label()
|
|
|
46 |
|
47 |
-
iface = gr.Interface(fn=get_probs, inputs=mic, outputs=label)
|
48 |
iface.launch()
|
|
|
43 |
|
44 |
mic = gr.Audio(sources="microphone", type="numpy", label="Speak here...")
|
45 |
label = gr.Label()
|
46 |
+
examples = ['Akzhol_happy.wav']
|
47 |
|
48 |
+
iface = gr.Interface(fn=get_probs, inputs=mic, outputs=label, examples=examples)
|
49 |
iface.launch()
|