Spaces:
Running on T4

raylim Claude Sonnet 4.5 commited on
Commit
8607da4
·
unverified ·
1 Parent(s): d1e1666

Bundle metadata files in repo to skip download on startup

Browse files

- Add data/*.csv and data/metadata/ to repo
- Update .gitignore to allow metadata files while ignoring model files
- Update Dockerfile to copy metadata files into image
- Update download_metadata() to use local files if available
- Falls back to HuggingFace download if local files not found
- Reduces startup time by ~2 seconds (no network call needed)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

8 files changed +192 -14
Files changed (8)
.gitignore+4-1
Dockerfile+1
data/metadata/int_to_name_class_mapping.tsvAdded+160
data/metadata/longest_sequence.txtAdded+1
data/metadata/n_classes.txtAdded+1
data/metadata/ontology_embedding_dim.txtAdded+1
data/metadata/target_dict.tsvAdded+1
src/mosaic/gradio_app.py+23-13