Taimur Khan commited on
Commit
90dd370
·
1 Parent(s): 02c2a64
Files changed (2) hide show
  1. Dockerfile +14 -0
  2. README.md +3 -3
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12.3-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ gdal-bin \
5
+ libgdal-dev \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ CMD ["python", "app.py"]
README.md CHANGED
@@ -3,12 +3,12 @@ title: FSKD MiTB2 Demo
3
  emoji: 🐨
4
  colorFrom: yellow
5
  colorTo: purple
6
- sdk: gradio
7
- sdk_version: 6.1.0
8
  app_file: app.py
9
  pinned: false
10
  license: fair-noncommercial-research-license
11
- short_description: Forest Structure Knowledge Distillation. SegFormer MiT-B2
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
3
  emoji: 🐨
4
  colorFrom: yellow
5
  colorTo: purple
6
+ sdk: docker
 
7
  app_file: app.py
8
  pinned: false
9
  license: fair-noncommercial-research-license
10
+ short_description: Forest Structure Knowledge Distillation(FSKD) Demo
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
14
+ sdk_version: 6.1.0