Spaces:
Running
on
Zero
Running
on
Zero
TheStinger
commited on
Commit
•
bd8b7c9
1
Parent(s):
e75965b
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
import gradio as gr
|
3 |
from scipy.io.wavfile import write
|
4 |
|
|
|
5 |
def inference(audio):
|
6 |
os.makedirs("out", exist_ok=True)
|
7 |
write('test.wav', audio[0], audio[1])
|
@@ -21,4 +22,4 @@ gr.Interface(
|
|
21 |
description=description,
|
22 |
article=article,
|
23 |
examples=examples
|
24 |
-
).launch
|
|
|
2 |
import gradio as gr
|
3 |
from scipy.io.wavfile import write
|
4 |
|
5 |
+
|
6 |
def inference(audio):
|
7 |
os.makedirs("out", exist_ok=True)
|
8 |
write('test.wav', audio[0], audio[1])
|
|
|
22 |
description=description,
|
23 |
article=article,
|
24 |
examples=examples
|
25 |
+
).launch(enable_queue=True)
|