Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
|
@@ -68,11 +68,14 @@ RUN pip install --no-cache-dir \
|
|
| 68 |
av \
|
| 69 |
omegaconf
|
| 70 |
|
| 71 |
-
# Step 7: Install Gradio
|
| 72 |
-
|
|
|
|
| 73 |
|
| 74 |
-
# Step 8:
|
| 75 |
-
RUN pip install --
|
|
|
|
|
|
|
| 76 |
|
| 77 |
# Copy application code
|
| 78 |
COPY . /app
|
|
|
|
| 68 |
av \
|
| 69 |
omegaconf
|
| 70 |
|
| 71 |
+
# Step 7: Install Gradio COMPATIBLE with huggingface_hub==0.20.0
|
| 72 |
+
# Gradio 4.x requires newer huggingface_hub, so we use Gradio 3.x
|
| 73 |
+
RUN pip install --no-cache-dir gradio==3.50.2
|
| 74 |
|
| 75 |
+
# Step 8: Install additional web dependencies
|
| 76 |
+
RUN pip install --no-cache-dir \
|
| 77 |
+
fastapi \
|
| 78 |
+
uvicorn
|
| 79 |
|
| 80 |
# Copy application code
|
| 81 |
COPY . /app
|