ButterM40 commited on
Commit
103e08e
Β·
1 Parent(s): d6806b0

Fix Space config: correct README frontmatter and Dockerfile paths

Browse files
Files changed (3) hide show
  1. Dockerfile +6 -2
  2. README.md +3 -5
  3. __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 /app
 
 
 
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 fastapi==0.115.5 uvicorn==0.32.1 pydantic==2.10.2 python-multipart==0.0.12
 
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 Hub
3
- emoji: πŸ€–
4
- colorFrom: purple
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