josiauhlol commited on
Commit
cde8439
·
1 Parent(s): 85eb89b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "! I'm a test program."
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
 
8
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ def greet(audio):
4
+ return audio
5
 
6
+ demo = gr.Interface(fn=greet, inputs="audio", outputs="audio")
7
 
8
  demo.launch()