Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files- .github/workflows/update_space.yml +4 -2
- requirements.txt +2 -1
.github/workflows/update_space.yml
CHANGED
|
@@ -24,5 +24,7 @@ jobs:
|
|
| 24 |
- name: Log in to Hugging Face
|
| 25 |
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
|
| 26 |
|
| 27 |
-
- name: Deploy to Spaces
|
| 28 |
-
|
|
|
|
|
|
|
|
|
| 24 |
- name: Log in to Hugging Face
|
| 25 |
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
|
| 26 |
|
| 27 |
+
- name: Deploy to Hugging Face Spaces
|
| 28 |
+
env:
|
| 29 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }} # Add this line
|
| 30 |
+
run: gradio deploy --title "SyncDub" --app-file gradio_app.py
|
requirements.txt
CHANGED
|
@@ -19,4 +19,5 @@ TTS==0.22.0
|
|
| 19 |
langchain
|
| 20 |
logger
|
| 21 |
gradio
|
| 22 |
-
git+https://github.com/openai/whisper.git
|
|
|
|
|
|
| 19 |
langchain
|
| 20 |
logger
|
| 21 |
gradio
|
| 22 |
+
git+https://github.com/openai/whisper.git
|
| 23 |
+
ipython
|