Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ from src.chatterbox.mtl_tts import ChatterboxMultilingualTTS, SUPPORTED_LANGUAGE
|
|
| 5 |
import gradio as gr
|
| 6 |
import spaces
|
| 7 |
|
| 8 |
-
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 9 |
print(f"🚀 Running on device: {DEVICE}")
|
| 10 |
|
| 11 |
# --- Global Model Initialization ---
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
import spaces
|
| 7 |
|
| 8 |
+
#DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 9 |
+
DEVICE = "cpu"
|
| 10 |
print(f"🚀 Running on device: {DEVICE}")
|
| 11 |
|
| 12 |
# --- Global Model Initialization ---
|