Jakaria
commited on
Commit
·
72b279c
1
Parent(s):
fd0aa85
Add Bangla model API
Browse files- Dockerfile +10 -0
- app.py +0 -0
- english_label_encoder.pkl +3 -0
- english_model.pkl +3 -0
- english_tfid.pkl +3 -0
- requirements.txt +8 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From python:3.9
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY requirements.txt .
|
6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
+
|
8 |
+
COPY . .
|
9 |
+
|
10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
app.py
ADDED
File without changes
|
english_label_encoder.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4db4d86cbd4ce61ab06316bc1d9820b53a85c6bd21090d1a882b958eb9bcaaed
|
3 |
+
size 552
|
english_model.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c49d0c51fb5a0ed0aef05a3b8a78602d92edd3a6edfea4b88b509092a92da66
|
3 |
+
size 4096947
|
english_tfid.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b51e17e8429bc7c806e33371eb861bc8584c1b7db70835a59285f4ce09b4d276
|
3 |
+
size 561017
|
requirements.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
fastapi
|
2 |
+
uvicorn
|
3 |
+
scikit-learn==1.2.2
|
4 |
+
|
5 |
+
numpy==1.24.4
|
6 |
+
joblib==1.2.0
|
7 |
+
|
8 |
+
|