Spaces:
Running
Running
Fix Space config: correct README frontmatter and Dockerfile paths
Browse files- Dockerfile +6 -2
- README.md +3 -5
- __pycache__/server.cpython-311.pyc +0 -0
Dockerfile
CHANGED
|
@@ -2,13 +2,17 @@
|
|
| 2 |
FROM python:3.11-slim
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
-
WORKDIR /
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Copy requirements first for better caching
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
| 10 |
# Install only essential packages for now
|
| 11 |
-
RUN pip install --no-cache-dir
|
|
|
|
| 12 |
|
| 13 |
# Copy the rest of the application
|
| 14 |
COPY . .
|
|
|
|
| 2 |
FROM python:3.11-slim
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
+
WORKDIR /code
|
| 6 |
+
|
| 7 |
+
# Set environment variables
|
| 8 |
+
ENV PORT=7860
|
| 9 |
|
| 10 |
# Copy requirements first for better caching
|
| 11 |
COPY requirements.txt .
|
| 12 |
|
| 13 |
# Install only essential packages for now
|
| 14 |
+
RUN pip install --no-cache-dir --upgrade pip && \
|
| 15 |
+
pip install --no-cache-dir fastapi uvicorn pydantic python-multipart pillow
|
| 16 |
|
| 17 |
# Copy the rest of the application
|
| 18 |
COPY . .
|
README.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
title: Local Inference
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
-
license: mit
|
| 9 |
-
app_port: 7860
|
| 10 |
---
|
| 11 |
|
| 12 |
# AI Chat & Summarization Web App π€
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Local Inference
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: pink
|
| 5 |
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# AI Chat & Summarization Web App π€
|
__pycache__/server.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/server.cpython-311.pyc and b/__pycache__/server.cpython-311.pyc differ
|
|
|