Mustafa Al Hamad commited on
Commit ·
bec0ae5
1
Parent(s): 4784b34
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def welcome(name):
|
|
@@ -11,7 +12,7 @@ with gr.Blocks() as demo:
|
|
| 11 |
""")
|
| 12 |
inp = gr.Audio(source="")
|
| 13 |
out = None
|
| 14 |
-
examples = gr.Examples(examples=[[("
|
| 15 |
inp.change(welcome, inp, out)
|
| 16 |
|
| 17 |
if __name__ == "__main__":
|
|
|
|
| 1 |
+
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
def welcome(name):
|
|
|
|
| 12 |
""")
|
| 13 |
inp = gr.Audio(source="")
|
| 14 |
out = None
|
| 15 |
+
examples = gr.Examples(examples=[[("announcer_begins_60sec (1).mp3")],[("announcer_begins_60sec (2).mp3")]],inputs=inp)
|
| 16 |
inp.change(welcome, inp, out)
|
| 17 |
|
| 18 |
if __name__ == "__main__":
|