Spaces:
Running
on
Zero
Running
on
Zero
swap order of spaces import
#1
by
multimodalart
HF staff
- opened
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import torch
|
2 |
import torchaudio
|
|
|
3 |
from einops import rearrange
|
4 |
from stable_audio_tools import get_pretrained_model
|
5 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
6 |
import gradio as gr
|
7 |
-
import spaces
|
8 |
|
9 |
# Define the function to generate audio
|
10 |
@spaces.GPU()
|
|
|
1 |
import torch
|
2 |
import torchaudio
|
3 |
+
import spaces
|
4 |
from einops import rearrange
|
5 |
from stable_audio_tools import get_pretrained_model
|
6 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
7 |
import gradio as gr
|
|
|
8 |
|
9 |
# Define the function to generate audio
|
10 |
@spaces.GPU()
|