Spaces:
Sleeping
Sleeping
amarchheda
commited on
Commit
·
a9bf14f
1
Parent(s):
9505cca
updated
Browse files
app.py
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def greet(
|
4 |
-
return
|
5 |
|
6 |
-
iface = gr.Interface(fn=greet,
|
|
|
|
|
|
|
|
|
|
|
7 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def greet(audio):
|
4 |
+
return audio
|
5 |
|
6 |
+
iface = gr.Interface(fn=greet,
|
7 |
+
inputs=gr.inputs.Audio(source="microphone", type="filepath"),
|
8 |
+
outputs="audio",
|
9 |
+
layout="horizontal",
|
10 |
+
theme="huggingface"
|
11 |
+
)
|
12 |
iface.launch()
|