Spaces:
Running
on
Zero
Running
on
Zero
TheStinger
commited on
Commit
•
6351151
1
Parent(s):
be21369
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
import gradio as gr
|
4 |
from scipy.io.wavfile import write
|
5 |
|
6 |
-
@spaces.GPU
|
7 |
def inference(audio):
|
8 |
os.makedirs("out", exist_ok=True)
|
9 |
write('test.wav', audio[0], audio[1])
|
|
|
3 |
import gradio as gr
|
4 |
from scipy.io.wavfile import write
|
5 |
|
6 |
+
@spaces.GPU()
|
7 |
def inference(audio):
|
8 |
os.makedirs("out", exist_ok=True)
|
9 |
write('test.wav', audio[0], audio[1])
|