jacky3102 commited on
Commit
d046fe0
·
1 Parent(s): fc3f473

Move gradio pins to requirements.txt, simplify Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -2
  2. requirements.txt +5 -1
Dockerfile CHANGED
@@ -17,8 +17,6 @@ WORKDIR $HOME/app
17
  # Copy requirements and install (single pip install, pin Gradio 4.44.1)
18
  COPY --chown=user requirements.txt .
19
  RUN pip install --no-cache-dir -r requirements.txt \
20
- "gradio==4.44.1" \
21
- "gradio_client<1.0.0" \
22
  "uvicorn>=0.14.0" \
23
  "websockets>=10.4"
24
 
 
17
  # Copy requirements and install (single pip install, pin Gradio 4.44.1)
18
  COPY --chown=user requirements.txt .
19
  RUN pip install --no-cache-dir -r requirements.txt \
 
 
20
  "uvicorn>=0.14.0" \
21
  "websockets>=10.4"
22
 
requirements.txt CHANGED
@@ -7,4 +7,8 @@ diffusers==0.31.0
7
  transformers==4.44.0
8
  accelerate==0.33.0
9
  safetensors==0.4.4
10
- pillow==10.4.0
 
 
 
 
 
7
  transformers==4.44.0
8
  accelerate==0.33.0
9
  safetensors==0.4.4
10
+ pillow==10.4.0
11
+
12
+ # Gradio (pinned to avoid 5.0.0 JSON schema bug)
13
+ gradio==4.44.1
14
+ gradio_client<1.0.0