n0v33n commited on
Commit
27e696a
·
1 Parent(s): 0461a88

Added files

Browse files
Files changed (4) hide show
  1. Dockerfile +13 -0
  2. README.md +11 -6
  3. app.py +0 -0
  4. requirement.txt +5 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ WORKDIR /app
3
+ RUN apt-get update && apt-get install -y \
4
+ gcc \
5
+ g++ \
6
+ libffi-dev \
7
+ libssl-dev \
8
+ python3-dev \
9
+ && rm -rf /var/lib/apt/lists/*
10
+ COPY app.py .
11
+ RUN pip install --no-cache-dir requirements.txt
12
+ EXPOSE 7860
13
+ CMD ["python", "app.py"]
README.md CHANGED
@@ -1,11 +1,16 @@
1
  ---
2
- title: MistyClimateServer
3
- emoji: 🏃
4
- colorFrom: blue
5
- colorTo: yellow
6
- sdk: docker
 
 
7
  pinned: false
8
- short_description: This a server Made with mistral models to json for PDF
 
 
 
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: MistyClimateOCR
3
+ emoji: 🐨
4
+ colorFrom: pink
5
+ colorTo: gray
6
+ sdk: gradio
7
+ sdk_version: 5.33.0
8
+ app_file: app.py
9
  pinned: false
10
+ short_description: This a server Made with OCR model of mistral to json for PDF
11
+ tag:
12
+ - mcp-server-track
13
+ -
14
  ---
15
 
16
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
File without changes
requirement.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ pillow
2
+ gradio
3
+ mistralai
4
+ pydantic
5
+ python-dotenv