mcamargo00 commited on
Commit
a6dcff3
·
verified ·
1 Parent(s): afc024c

Delete deployment_files.py

Browse files
Files changed (1) hide show
  1. deployment_files.py +0 -49
deployment_files.py DELETED
@@ -1,49 +0,0 @@
1
- # requirements.txt
2
- fastapi==0.104.1
3
- uvicorn==0.24.0
4
- torch==2.1.0
5
- transformers==4.35.0
6
- python-multipart==0.0.6
7
- pydantic==2.5.0
8
-
9
- # README.md for your Hugging Face Space
10
- ---
11
- title: Math Solution Classifier
12
- emoji: 🧮
13
- colorFrom: blue
14
- colorTo: purple
15
- sdk: gradio
16
- sdk_version: 4.7.1
17
- app_file: app.py
18
- pinned: false
19
- ---
20
-
21
- # Math Solution Classifier
22
-
23
- This application classifies math solutions into three categories:
24
- - **Correct**: Solution is mathematically sound
25
- - **Conceptually Flawed**: Wrong approach or understanding
26
- - **Computationally Flawed**: Right approach, calculation errors
27
-
28
- ## Usage
29
-
30
- 1. Enter a math question
31
- 2. Enter the proposed solution
32
- 3. Click "Classify Solution"
33
- 4. Get instant feedback on the solution quality
34
-
35
- Built with FastAPI and your custom trained model.
36
-
37
- # Dockerfile (optional, for other hosting platforms)
38
- FROM python:3.9-slim
39
-
40
- WORKDIR /app
41
-
42
- COPY requirements.txt .
43
- RUN pip install --no-cache-dir -r requirements.txt
44
-
45
- COPY . .
46
-
47
- EXPOSE 7860
48
-
49
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]