Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
| 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 |
|