Spaces:
Running
on
Zero
Running
on
Zero
artificialguybr
commited on
Commit
•
9838976
1
Parent(s):
99ae084
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,12 @@ import gradio as gr
|
|
2 |
import torchaudio
|
3 |
from audiocraft.models import MusicGen
|
4 |
from audiocraft.data.audio import audio_write
|
5 |
-
import spaces
|
6 |
import logging
|
7 |
import os
|
8 |
import uuid
|
9 |
from torch.cuda.amp import autocast
|
10 |
import torch
|
|
|
11 |
|
12 |
ZERO_GPU_PATCH_TORCH_DEVICE = 1
|
13 |
|
|
|
2 |
import torchaudio
|
3 |
from audiocraft.models import MusicGen
|
4 |
from audiocraft.data.audio import audio_write
|
|
|
5 |
import logging
|
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 |
|