Spaces:
Sleeping
Sleeping
Update app.py
Browse files23 unmodified lines2425262728293023 unmodified lines# Configuration# Default to the moved fine-tuned checkpoint if presentMODEL_PATH = os.environ.get('MODEL_PATH', os.path.join('results', 'fine_tune', 'best_model_finetuned.pth'))# Optional: if your HF model id is known (e.g. Emiel/cub-200-bird-classifier-swin), set HF_MODEL_ID env varHF_MODEL_ID = os.environ.get('HF_MODEL_ID', None)CLASS_NAMES_PATH = os.environ.get('CLASS_NAMES_PATH', 'class_names.json')23 unmodified lines2425262728293023 unmodified lines# Configuration# Default to the moved fine-tuned checkpoint if presentMODEL_PATH = os.environ.get('MODEL_PATH', os.path.join('best_model_finetuned.pth'))# Optional: if your HF model id is known (e.g. Emiel/cub-200-bird-classifier-swin), set HF_MODEL_ID env varHF_MODEL_ID = os.environ.get('HF_MODEL_ID', None)CLASS_NAMES_PATH = os.environ.get('CLASS_NAMES_PATH', 'class_names.json')
app.py+1-1