Skip to content

Feat: Fix Docker and bump project #3

Feat: Fix Docker and bump project

Feat: Fix Docker and bump project #3

Workflow file for this run

name: Deploy to HuggingFace
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.13'
- name: Install Gradio
run: python -m pip install gradio
- name: Log in to Hugging Face
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
- name: Deploy to Spaces
run: gradio deploy