vggt Claude commited on
Commit
3bf98d7
·
1 Parent(s): 2d046ec

fix: switch back to Gradio SDK with python_version 3.12

Browse files

- ZeroGPU requires Gradio SDK, not Docker SDK
- Pin Python to 3.12 via python_version metadata
- Remove Dockerfile, add back packages.txt for system deps

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (3) hide show
  1. Dockerfile +0 -17
  2. README.md +4 -2
  3. packages.txt +7 -0
Dockerfile DELETED
@@ -1,17 +0,0 @@
1
- FROM python:3.12-slim
2
-
3
- WORKDIR /code
4
-
5
- RUN apt-get update && apt-get install -y --no-install-recommends \
6
- build-essential gcc g++ git-lfs ffmpeg libsm6 libxext6 \
7
- && apt-get clean && rm -rf /var/lib/apt/lists/*
8
-
9
- COPY requirements.txt .
10
- RUN pip install --no-cache-dir --upgrade pip && \
11
- pip install --no-cache-dir -r requirements.txt
12
-
13
- COPY . .
14
-
15
- EXPOSE 7860
16
-
17
- CMD ["python", "app.py"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -3,8 +3,10 @@ title: Image Matching WebUI
3
  emoji: 👀
4
  colorFrom: blue
5
  colorTo: green
6
- sdk: docker
7
- app_port: 7860
 
 
8
  pinned: false
9
  license: apache-2.0
10
  ---
 
3
  emoji: 👀
4
  colorFrom: blue
5
  colorTo: green
6
+ sdk: gradio
7
+ sdk_version: "6.19.0"
8
+ python_version: "3.12"
9
+ app_file: app.py
10
  pinned: false
11
  license: apache-2.0
12
  ---
packages.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ build-essential
2
+ gcc
3
+ g++
4
+ git-lfs
5
+ ffmpeg
6
+ libsm6
7
+ libxext6