Spaces:
Build error
Build error
| import os | |
| from huggingface_hub import upload_folder | |
| repo_id = "roshra/machine-failure-prediction" | |
| token = os.getenv("HF_TOKEN") | |
| print("π Uploading deployment files to Hugging Face Space...") | |
| upload_folder( | |
| folder_path="week_3_mls/deployment", | |
| repo_id=repo_id, | |
| repo_type="space", | |
| token=token | |
| ) | |
| print(f"β Deployment pushed successfully β https://huggingface.co/spaces/{repo_id}") |