Spaces:
Sleeping
Sleeping
| # Script to prepare Hugging Face deployment without modifying the main app | |
| echo "Preparing Hugging Face deployment..." | |
| # Create symlinks to required directories (won't copy, just link) | |
| ln -sf ../ml_suite ml_suite | |
| ln -sf ../final_optimized_model final_optimized_model | |
| echo "Created symbolic links to ml_suite and model directories" | |
| echo "" | |
| echo "To deploy to Hugging Face Spaces:" | |
| echo "1. Create a new Space at https://huggingface.co/spaces" | |
| echo "2. Clone the space repository" | |
| echo "3. Copy the contents of this huggingface/ directory to the space repo" | |
| echo "4. Copy the ml_suite/ and final_optimized_model/ directories" | |
| echo "5. Git add, commit, and push" | |
| echo "" | |
| echo "Your main app remains completely untouched!" |