Spaces:
Running
on
Zero
Running
on
Zero
thecollabagepatch
commited on
Commit
·
c22018b
1
Parent(s):
f20dbe8
rearrange imports
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import torchaudio
|
3 |
from audiocraft.models import MusicGen
|
4 |
from audiocraft.data.audio import audio_write
|
@@ -9,7 +10,7 @@ import torch
|
|
9 |
from pydub import AudioSegment
|
10 |
import io
|
11 |
import random
|
12 |
-
|
13 |
|
14 |
#logging.basicConfig(level=logging.DEBUG)
|
15 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
import torchaudio
|
4 |
from audiocraft.models import MusicGen
|
5 |
from audiocraft.data.audio import audio_write
|
|
|
10 |
from pydub import AudioSegment
|
11 |
import io
|
12 |
import random
|
13 |
+
|
14 |
|
15 |
#logging.basicConfig(level=logging.DEBUG)
|
16 |
|