Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- .gitignore +4 -0
- Dockerfile +30 -0
- README.md +14 -8
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*
|
| 2 |
+
!.gitignore
|
| 3 |
+
!README.md
|
| 4 |
+
!Dockerfile
|
Dockerfile
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:c4136cf075c3eccea5cb7467148ad3934753d7b47e29f78963c2f056aba19643 AS builder
|
| 2 |
+
|
| 3 |
+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:5778d479c0fd7995fedd44614570f38a9d849256851f2786c451c220d7bd8ccd \
|
| 4 |
+
/uv /uvx /usr/bin/
|
| 5 |
+
|
| 6 |
+
RUN apk add --no-cache build-base git
|
| 7 |
+
|
| 8 |
+
USER nonroot
|
| 9 |
+
|
| 10 |
+
RUN --mount=type=cache,target=/root/.cache/uv \
|
| 11 |
+
uv tool install git+https://github.com/AlphaSphereDotAI/vocalizr
|
| 12 |
+
|
| 13 |
+
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:c4136cf075c3eccea5cb7467148ad3934753d7b47e29f78963c2f056aba19643 AS production
|
| 14 |
+
|
| 15 |
+
ENV GRADIO_SERVER_PORT=7860 \
|
| 16 |
+
GRADIO_SERVER_NAME=0.0.0.0 \
|
| 17 |
+
HF_HOME=/home/nonroot/hf \
|
| 18 |
+
PATH=/home/nonroot/.local/bin:$PATH
|
| 19 |
+
|
| 20 |
+
RUN apk add --no-cache curl libstdc++
|
| 21 |
+
|
| 22 |
+
USER nonroot
|
| 23 |
+
|
| 24 |
+
WORKDIR /home/nonroot
|
| 25 |
+
|
| 26 |
+
COPY --from=builder --chown=nonroot:nonroot --chmod=755 /home/nonroot/.local/ /home/nonroot/.local/
|
| 27 |
+
|
| 28 |
+
EXPOSE ${GRADIO_SERVER_PORT}
|
| 29 |
+
|
| 30 |
+
CMD ["vocalizr"]
|
README.md
CHANGED
|
@@ -1,12 +1,18 @@
|
|
| 1 |
---
|
| 2 |
title: Vocalizr
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Vocalizr
|
| 3 |
+
emoji: 🔊
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: yellow
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
## Vocalizr: Voice Generator part of the Chatacter Backend
|
| 11 |
+
|
| 12 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/code_analysis.yaml)
|
| 13 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github-code-scanning/codeql)
|
| 14 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/dependabot/dependabot-updates)
|
| 15 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/docker.yaml)
|
| 16 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github.yaml)
|
| 17 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/huggingface.yaml)
|
| 18 |
+
[](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/trunk_upgrade.yaml)
|