lllindsey0615 commited on
Commit
be6044e
·
1 Parent(s): 5f886ae

move back to cpu

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,4 +1,3 @@
1
- import spaces
2
  import torch
3
  import torchaudio
4
  import gradio as gr
@@ -18,7 +17,7 @@ STEM_CHOICES = {
18
  "Other": 2,
19
  "Instrumental (No Vocals)": "instrumental"
20
  }
21
- @spaces.GPU
22
  def separate_stem(audio_file_path: str, model_name: str, stem_choice: str):
23
  """
24
  Separates an audio file into the chosen stem using a Demucs model.
 
 
1
  import torch
2
  import torchaudio
3
  import gradio as gr
 
17
  "Other": 2,
18
  "Instrumental (No Vocals)": "instrumental"
19
  }
20
+
21
  def separate_stem(audio_file_path: str, model_name: str, stem_choice: str):
22
  """
23
  Separates an audio file into the chosen stem using a Demucs model.