Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ HF_TOKEN = os.getenv("HF_TOKEN")
|
|
| 11 |
if HF_TOKEN is None:
|
| 12 |
raise ValueError("Hugging Face token not found. Please set the HF_TOKEN secret in your Space settings.")
|
| 13 |
|
| 14 |
-
MODEL_ID = "breadlicker45/bilingual-base-gender-v4.5
|
| 15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 16 |
print(f"Using device: {device}")
|
| 17 |
|
|
|
|
| 11 |
if HF_TOKEN is None:
|
| 12 |
raise ValueError("Hugging Face token not found. Please set the HF_TOKEN secret in your Space settings.")
|
| 13 |
|
| 14 |
+
MODEL_ID = "breadlicker45/bilingual-base-gender-v4.5"
|
| 15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 16 |
print(f"Using device: {device}")
|
| 17 |
|