Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|
|
|
|
|
|
|
|