Nightfury16 commited on
Commit
80055c0
·
1 Parent(s): 1fc77e1

updated requirements.txt and Dockerfile

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -3
  2. README.md +8 -7
  3. requirements.txt +2 -5
Dockerfile CHANGED
@@ -1,12 +1,11 @@
1
  FROM python:3.11-slim
2
 
3
- ENV DEBIAN_FRONTEND=noninteractive
4
- ENV TZ=Etc/UTC
5
- ENV LANG C.UTF-8
6
  ENV PIP_NO_CACHE_DIR=1
 
7
  ENV HUGGING_FACE_HUB_CACHE=/app/cache
8
  ENV HF_HOME=/app/cache
9
 
 
10
 
11
  WORKDIR /app
12
 
 
1
  FROM python:3.11-slim
2
 
 
 
 
3
  ENV PIP_NO_CACHE_DIR=1
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
  ENV HUGGING_FACE_HUB_CACHE=/app/cache
6
  ENV HF_HOME=/app/cache
7
 
8
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
9
 
10
  WORKDIR /app
11
 
README.md CHANGED
@@ -1,12 +1,13 @@
1
  ---
2
- title: Virtual Staging Flux
3
- emoji: 📈
4
- colorFrom: indigo
5
  colorTo: red
 
 
6
  repository: black-forest-labs/FLUX.1-Kontext-dev
7
- sdk: docker
8
- hardware: gpu-l40s
9
  pinned: false
10
- startup_timeout: 1800
11
- app_port: 8000
12
  ---
 
 
 
1
  ---
2
+ title: Virtual Staging Flux
3
+ emoji: 📈
4
+ colorFrom: indigo
5
  colorTo: red
6
+ sdk: docker
7
+ hardware: gpu-a10g-small
8
  repository: black-forest-labs/FLUX.1-Kontext-dev
 
 
9
  pinned: false
10
+ app_port: 8000
 
11
  ---
12
+
13
+ Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
requirements.txt CHANGED
@@ -1,14 +1,11 @@
1
  fastapi
2
- uvicorn
3
  gradio
4
  python-multipart
5
-
6
- diffusers @ git+https://github.com/huggingface/diffusers.git
7
  transformers
8
  accelerate
9
  safetensors
10
  sentencepiece
11
-
12
  Pillow
13
- PyYAML
14
  spaces
 
1
  fastapi
2
+ uvicorn[standard]
3
  gradio
4
  python-multipart
5
+ diffusers
 
6
  transformers
7
  accelerate
8
  safetensors
9
  sentencepiece
 
10
  Pillow
 
11
  spaces