Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 44 |
logger.info(f"Using device: {DEVICE}")
|
| 45 |
|
| 46 |
# Global model cache
|
| 47 |
-
MODELS
|
| 48 |
|
| 49 |
# Checkpoint mapping (HuggingFace Hub paths)
|
| 50 |
CHECKPOINTS = {
|
|
|
|
| 44 |
logger.info(f"Using device: {DEVICE}")
|
| 45 |
|
| 46 |
# Global model cache
|
| 47 |
+
MODELS = {}
|
| 48 |
|
| 49 |
# Checkpoint mapping (HuggingFace Hub paths)
|
| 50 |
CHECKPOINTS = {
|