Skip to content

Update README.md

Update README.md #61

Workflow file for this run

name: Deploy to HuggingFace Space
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11' # Usando 3.11 como corrigimos
- name: Install Dependencies (hf_xet, hf_hub, e do projeto)
run: |
pip install --upgrade pip
pip install huggingface_hub hf_xet
pip install -r requirements.txt
- name: Upload project to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
python -c "
from huggingface_hub import HfApi
api = HfApi()
print('Uploading files to Hugging Face Space...')
api.upload_folder(
folder_path='.',
repo_id='leo-bsb/Delivery-Time-Predictor',
repo_type='space',
commit_message='Sync project from GitHub Actions'
)
print('Upload complete.')
"