InfosysResponsibleAiToolKit commited on
Commit
44de5e5
·
2 Parent(s): e621a74 1eab44e

Merge branch 'main' of https://huggingface.co/InfosysResponsibleAiToolKit/Responsible-Ai-Moderation-Models

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -25
Dockerfile DELETED
@@ -1,25 +0,0 @@
1
- FROM python:3.9-slim
2
-
3
- WORKDIR /
4
-
5
- # Install git
6
- RUN apt-get update && apt-get install -y git
7
-
8
- # Install Hugging face Dependencies
9
- RUN pip install huggingface_hub transformers git+https://github.com/huggingface/transformers.git
10
-
11
- # Alternatively, if you want to use git to clone the model repo
12
- RUN git clone https://huggingface.co/InfosysResponsibleAiToolKit/Responsible-Ai-Moderation-Models
13
-
14
- WORKDIR /Responsible-Ai-Moderation-Models
15
-
16
- RUN ls -l
17
-
18
- RUN pip install --no-cache-dir --upgrade -r requirements/requirement.txt
19
-
20
- WORKDIR /src
21
-
22
- # command
23
- CMD ["python", "main.py"]
24
-
25
-