Spaces:
Sleeping
Sleeping
Cleaned README and Dockerfile
Browse files- Dockerfile +3 -5
- README.md +1 -4
Dockerfile
CHANGED
|
@@ -9,14 +9,12 @@ ENV HOME=/home/ubuntu \
|
|
| 9 |
# Ensure the HuggingFace cache directory exists and has proper permissions
|
| 10 |
RUN mkdir -p $HOME/.cache/huggingface/hub
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
# Environment variables
|
| 13 |
ENV UVICORN_HOST=0.0.0.0
|
| 14 |
ENV UVICORN_PORT=7860
|
| 15 |
-
ENV HF_HUB_ENABLE_HF_TRANSFER=0
|
| 16 |
-
ENV DO_NOT_TRACK=1
|
| 17 |
-
|
| 18 |
-
# Create a volume for the HuggingFace cache
|
| 19 |
-
VOLUME ["$HOME/.cache/huggingface/hub"]
|
| 20 |
|
| 21 |
# Expose the port that the server listens on
|
| 22 |
EXPOSE 7860
|
|
|
|
| 9 |
# Ensure the HuggingFace cache directory exists and has proper permissions
|
| 10 |
RUN mkdir -p $HOME/.cache/huggingface/hub
|
| 11 |
|
| 12 |
+
# Create a volume for the HuggingFace cache
|
| 13 |
+
VOLUME ["$HOME/.cache/huggingface/hub"]
|
| 14 |
+
|
| 15 |
# Environment variables
|
| 16 |
ENV UVICORN_HOST=0.0.0.0
|
| 17 |
ENV UVICORN_PORT=7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# Expose the port that the server listens on
|
| 20 |
EXPOSE 7860
|
README.md
CHANGED
|
@@ -1,10 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: Speaches Demo
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom: purple
|
| 5 |
-
colorTo: pink
|
| 6 |
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
license: mit
|
| 9 |
short_description: Speaches demo
|
| 10 |
preload_from_hub:
|
|
|
|
| 1 |
---
|
| 2 |
title: Speaches Demo
|
| 3 |
+
emoji: 🎙️
|
|
|
|
|
|
|
| 4 |
sdk: docker
|
|
|
|
| 5 |
license: mit
|
| 6 |
short_description: Speaches demo
|
| 7 |
preload_from_hub:
|