nakas commited on
Commit
a249dc2
1 Parent(s): 5e61b0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -1,14 +1,9 @@
1
-
2
  import gradio as gr
3
 
4
-
5
-
6
- def greet(name)
7
  return name
8
 
 
9
 
10
-
11
-
12
-
13
- iface = gr.Interface(fn=greet, inputs=gr.Audio(type="file"), outputs=gr.Audio(type="file"))
14
- iface.launch()
 
 
1
  import gradio as gr
2
 
3
+ def greet(name):
4
+ print name
 
5
  return name
6
 
7
+ demo = gr.Interface(fn=greet, inputs=gr.Audio(type="file"), outputs=gr.Audio(type="file"))
8
 
9
+ demo.launch()