Spaces:
Running
on
Zero
Running
on
Zero
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])
|