vip11017 commited on
Commit
3b9c6df
·
1 Parent(s): a85b03f

Changed README

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. Dockerfile +3 -1
  3. README.md +3 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
Dockerfile CHANGED
@@ -2,6 +2,8 @@ FROM python:3.11-slim
2
 
3
  # Avoid Hugging Face cache permission errors
4
  ENV HF_HOME=/tmp/hf-cache
 
 
5
 
6
  # Install necessary system dependencies
7
  RUN apt-get update && apt-get install -y \
@@ -23,4 +25,4 @@ RUN pip install --no-cache-dir -r requirements.txt
23
  EXPOSE 7860
24
 
25
  # Run the FastAPI app
26
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
2
 
3
  # Avoid Hugging Face cache permission errors
4
  ENV HF_HOME=/tmp/hf-cache
5
+ ENV TRANSFORMERS_CACHE=/tmp/hf-cache
6
+ ENV HF_DATASETS_CACHE=/tmp/hf-cache
7
 
8
  # Install necessary system dependencies
9
  RUN apt-get update && apt-get install -y \
 
25
  EXPOSE 7860
26
 
27
  # Run the FastAPI app
28
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -4,7 +4,10 @@ emoji: 🔥
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: docker
 
 
7
  pinned: false
8
  ---
9
 
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: docker
7
+ app_port: 7860
8
+ base_path: /
9
  pinned: false
10
  ---
11
 
12
+
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference