Spaces:
Running
Running
Download config.js from EHDEM/WasteLessV6.2AlphaB1: direct link, hf CLI and curl.
- Browser
- Download file 814 Bytes
-
https://huggingface.co/spaces/EHDEM/WasteLessV6.2AlphaB1/resolve/main/config.js
- Command line
-
hf download hf://spaces/EHDEM/WasteLessV6.2AlphaB1/config.js
-
curl -L -o config.js https://huggingface.co/spaces/EHDEM/WasteLessV6.2AlphaB1/resolve/main/config.js
814 Bytes
| // config.js - GitHub Configuration | |
| const GITHUB_CONFIG = { | |
| TOKEN: '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', // Your Personal Access Token | |
| REPOS: { | |
| ATTENDANCE: 'SMSS-Waste-Less/Waste-LessV5', // Form A data | |
| CONSUMED: 'WaffleExecutors/Waste-LessV5', // Form B data | |
| STUDENT_LIST: 'SMSS-Waste-Less/Waste-LessV5', // Student master list + RFID | |
| WASTE_DATA: 'SMSS-Waste-Less/Waste-LessV5' // Analytics data | |
| }, | |
| // Default file paths | |
| PATHS: { | |
| FORM_A: 'Data%20Students%20who%20want%20to%20eat', | |
| FORM_B: 'data%20who%20has%20ate%20at%20dm', | |
| STUDENTS: 'student-list.json', | |
| WASTE: 'food_waste_data.json' | |
| } | |
| }; | |
| // Global GitHub token variable (for backward compatibility) | |
| const GITHUB_TOKEN = GITHUB_CONFIG.TOKEN; | |