MH0386 commited on
Commit
92c836a
·
verified ·
1 Parent(s): 75eba98

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitignore +4 -0
  2. Dockerfile +30 -0
  3. 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: gray
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 5.38.0
8
- app_file: app.py
9
- pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
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
+ [![Code Analysis](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/code_analysis.yaml/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/code_analysis.yaml)
13
+ [![CodeQL](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github-code-scanning/codeql)
14
+ [![Dependabot Updates](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/dependabot/dependabot-updates)
15
+ [![Docker Images](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/docker.yaml/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/docker.yaml)
16
+ [![GitHub Release](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github.yaml/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/github.yaml)
17
+ [![Push to HuggingFace](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/huggingface.yaml/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/huggingface.yaml)
18
+ [![Upgrade Trunk Check](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/trunk_upgrade.yaml/badge.svg)](https://github.com/AlphaSphereDotAI/vocalizr/actions/workflows/trunk_upgrade.yaml)