HKUST-Audio commited on
Commit
943290c
·
verified ·
1 Parent(s): 4c411cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
 
1
  import gradio as gr
2
  import torch
3
  import soundfile as sf
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
  from xcodec2.modeling_xcodec2 import XCodec2Model
6
  import tempfile
7
- import spaces
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
 
10
  ####################
 
1
+ import spaces
2
  import gradio as gr
3
  import torch
4
  import soundfile as sf
5
  from transformers import AutoTokenizer, AutoModelForCausalLM
6
  from xcodec2.modeling_xcodec2 import XCodec2Model
7
  import tempfile
8
+
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
 
11
  ####################