CCA / config.yaml
Lyon28's picture
Create config.yaml
05d5aef verified
# .space/config.yaml
title: Lyon28 Multi-Model API
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
license: apache-2.0
header: default
short_description: API access to multiple Lyon28 models
tags:
- nlp
- api
- text-generation
- transformers
- pytorch
models:
- Lyon28/Tinny-Llama
- Lyon28/Pythia
- Lyon28/Bert-Tinny
- Lyon28/Albert-Base-V2
- Lyon28/T5-Small
- Lyon28/GPT-2
- Lyon28/GPT-Neo
- Lyon28/Distilbert-Base-Uncased
- Lyon28/Distil_GPT-2
- Lyon28/GPT-2-Tinny
- Lyon28/Electra-Small
---
# .github/workflows/hf-space.yml (Optional CI/CD)
name: Deploy to HF Spaces
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push to HF Spaces
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git clone https://huggingface.co/spaces/your-username/your-space-name hf-space
cp -r * hf-space/
cd hf-space
git add .
git commit -m "Update from GitHub"
git push