Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ import gradio as gr
|
|
35 |
from stable_audio_tools import get_pretrained_model
|
36 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
37 |
|
38 |
-
device = torch.device("cuda:0"
|
39 |
|
40 |
# Load the model outside of the GPU-decorated function
|
41 |
def load_model():
|
|
|
35 |
from stable_audio_tools import get_pretrained_model
|
36 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
37 |
|
38 |
+
device = torch.device("cuda:0")
|
39 |
|
40 |
# Load the model outside of the GPU-decorated function
|
41 |
def load_model():
|