ameerazam08 multimodalart HF staff commited on
Commit
4ca91f3
1 Parent(s): d695918

swap order of spaces import (#1)

Browse files

- swap order of spaces import (8f4c3cd608721cdde7a91ef84f0bb3162bd61337)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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()