Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def inference(audio, state=""):
|
|
| 111 |
|
| 112 |
# get audio from microphone
|
| 113 |
|
| 114 |
-
gr.
|
| 115 |
fn=inference,
|
| 116 |
inputs=[
|
| 117 |
gr.inputs.Audio(source="microphone", type="filepath"),
|
|
@@ -123,3 +123,4 @@ gr.Blocks(
|
|
| 123 |
"textbox"
|
| 124 |
],
|
| 125 |
live=True).launch()
|
|
|
|
|
|
| 111 |
|
| 112 |
# get audio from microphone
|
| 113 |
|
| 114 |
+
gr.Interface(
|
| 115 |
fn=inference,
|
| 116 |
inputs=[
|
| 117 |
gr.inputs.Audio(source="microphone", type="filepath"),
|
|
|
|
| 123 |
"textbox"
|
| 124 |
],
|
| 125 |
live=True).launch()
|
| 126 |
+
|