Spaces:
Runtime error
Runtime error
HF Spaces Deployment Fixed
Browse files- .github/workflows/docker-build.yml +2 -1
- spaces.yaml +7 -9
.github/workflows/docker-build.yml
CHANGED
|
@@ -48,6 +48,7 @@ jobs:
|
|
| 48 |
type=raw,value=latest,enable={{is_default_branch}}
|
| 49 |
|
| 50 |
- name: Build and push Docker image
|
|
|
|
| 51 |
uses: docker/build-push-action@v5
|
| 52 |
with:
|
| 53 |
context: .
|
|
@@ -58,7 +59,7 @@ jobs:
|
|
| 58 |
cache-to: type=gha,mode=max
|
| 59 |
|
| 60 |
- name: Image digest
|
| 61 |
-
run: echo "Image pushed with digest: ${{ steps.
|
| 62 |
|
| 63 |
deploy-to-hf-spaces:
|
| 64 |
needs: build-and-push
|
|
|
|
| 48 |
type=raw,value=latest,enable={{is_default_branch}}
|
| 49 |
|
| 50 |
- name: Build and push Docker image
|
| 51 |
+
id: docker_build
|
| 52 |
uses: docker/build-push-action@v5
|
| 53 |
with:
|
| 54 |
context: .
|
|
|
|
| 59 |
cache-to: type=gha,mode=max
|
| 60 |
|
| 61 |
- name: Image digest
|
| 62 |
+
run: echo "Image pushed with digest: ${{ steps.docker_build.outputs.digest }}"
|
| 63 |
|
| 64 |
deploy-to-hf-spaces:
|
| 65 |
needs: build-and-push
|
spaces.yaml
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
title: Voice RAG Bot
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
startup_duration_timeout: 600
|
| 10 |
-
hf_oauth: true
|
|
|
|
| 1 |
title: Voice RAG Bot
|
| 2 |
+
emoji: 🎤
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: green
|
| 5 |
+
sdk: docker
|
| 6 |
+
app_port: 8501
|
| 7 |
+
pinned: false
|
| 8 |
+
license: mit
|
|
|
|
|
|