Spaces:
Sleeping
Sleeping
Commit ·
5b0118b
1
Parent(s): cf6bf05
adding docker along with model
Browse files- Dockerfile +7 -0
- encoders.pkl +0 -0
- model.pkl +0 -0
- requirements.txt +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
+
COPY . .
|
| 6 |
+
EXPOSE 7860
|
| 7 |
+
CMD ["python", "app.py"]
|
encoders.pkl
ADDED
|
Binary file (631 Bytes). View file
|
|
|
model.pkl
ADDED
|
Binary file (2.2 kB). View file
|
|
|
requirements.txt
CHANGED
|
@@ -2,3 +2,4 @@ scikit-learn==1.3.2
|
|
| 2 |
pandas==2.1.4
|
| 3 |
numpy==1.26.4
|
| 4 |
gradio==4.44.1
|
|
|
|
|
|
| 2 |
pandas==2.1.4
|
| 3 |
numpy==1.26.4
|
| 4 |
gradio==4.44.1
|
| 5 |
+
huggingface_hub==0.23.4
|