GunjanSingh29
Initial commit with Git LFS
ad434f2
name: Sync to Hugging Face hub
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-and-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: Create virtual environment
run: python -m venv venv
- name: Activate venv and install requirements
run: |
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
- name: Install F5-TTS as editable
run: |
source venv/bin/activate
cd F5-TTS
pip install -e .
- name: Run app.py
run: |
source venv/bin/activate
python app.py
- name: Add remote
env:
HF: ${{ secrets.hg }}
run: git remote add space https://chanpreet007:$HF@huggingface.co/spaces/chanpreet007/MediEaseTTS
- name: Push to hub
env:
HF: ${{ secrets.hg }}
run: git push --force https://chanpreet007:$HF@huggingface.co/spaces/chanpreet007/MediEaseTTS main