mrfakename commited on
Commit
47f2da0
·
verified ·
1 Parent(s): 42f5723

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ import spaces
10
  import gradio as gr
11
 
12
  device = 'cuda' if T.cuda.is_available() else 'cpu'
13
- T.cuda.set_device(0)
14
- print_colored(f"Using device: {device}", "grey")
15
 
16
  audio_tokenizer = make_tokenizer(device)
17
 
 
10
  import gradio as gr
11
 
12
  device = 'cuda' if T.cuda.is_available() else 'cpu'
13
+ #T.cuda.set_device(0)
14
+ print(f"Using device: {device}")
15
 
16
  audio_tokenizer = make_tokenizer(device)
17