Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import torchaudio
|
3 |
from audiocraft.models import MusicGen
|
@@ -7,7 +8,6 @@ import os
|
|
7 |
import uuid
|
8 |
from torch.cuda.amp import autocast
|
9 |
import torch
|
10 |
-
import spaces
|
11 |
|
12 |
ZERO_GPU_PATCH_TORCH_DEVICE = 1
|
13 |
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
import torchaudio
|
4 |
from audiocraft.models import MusicGen
|
|
|
8 |
import uuid
|
9 |
from torch.cuda.amp import autocast
|
10 |
import torch
|
|
|
11 |
|
12 |
ZERO_GPU_PATCH_TORCH_DEVICE = 1
|
13 |
|