Next commited on
Commit
5825adc
1 Parent(s): f45e7a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,9 +2,11 @@ import os
2
  from scipy.io.wavfile import write
3
  import gradio as gr
4
  import yt_dlp
 
5
 
6
  os.makedirs("ytdl", exist_ok=True)
7
 
 
8
  def separator(audio):
9
  os.makedirs("output", exist_ok=True)
10
  write('test.wav', audio[0], audio[1])
 
2
  from scipy.io.wavfile import write
3
  import gradio as gr
4
  import yt_dlp
5
+ import spaces
6
 
7
  os.makedirs("ytdl", exist_ok=True)
8
 
9
+ @spaces.GPU
10
  def separator(audio):
11
  os.makedirs("output", exist_ok=True)
12
  write('test.wav', audio[0], audio[1])