Add sample sounds
Browse files- app.py +6 -1
- samples/english_hello.wav +0 -0
- samples/french_hello.wav +0 -0
- samples/hebrew_hello.wav +0 -0
- samples/spanish_hello.wav +0 -0
app.py
CHANGED
@@ -18,6 +18,11 @@ gr.Interface(
|
|
18 |
gr.Audio(source="microphone", type="filepath"),
|
19 |
gr.Checkbox(label="Translate to english"),
|
20 |
],
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
outputs="text",
|
23 |
).launch()
|
|
|
18 |
gr.Audio(source="microphone", type="filepath"),
|
19 |
gr.Checkbox(label="Translate to english"),
|
20 |
],
|
21 |
+
examples=[
|
22 |
+
["samples/french_hello.wav", True],
|
23 |
+
["samples/english_hello.wav", True],
|
24 |
+
["samples/hebrew_hello.wav", True],
|
25 |
+
["samples/spanish_hello.wav", True],
|
26 |
+
],
|
27 |
outputs="text",
|
28 |
).launch()
|
samples/english_hello.wav
ADDED
Binary file (350 kB). View file
|
|
samples/french_hello.wav
ADDED
Binary file (278 kB). View file
|
|
samples/hebrew_hello.wav
ADDED
Binary file (295 kB). View file
|
|
samples/spanish_hello.wav
ADDED
Binary file (305 kB). View file
|
|