Spaces:
Sleeping
Sleeping
AP\VivekIsh
commited on
Commit
•
f65c762
1
Parent(s):
11ad912
codegen: Update dockerfile
Browse files- .gitignore +0 -3
- Dockerfile +2 -2
- logs.log +0 -0
.gitignore
CHANGED
@@ -11,9 +11,6 @@ __pycache__/
|
|
11 |
*.manifest
|
12 |
*.spec
|
13 |
|
14 |
-
# Logs
|
15 |
-
logs.log
|
16 |
-
|
17 |
# Jupyter Notebook
|
18 |
.ipynb_checkpoints
|
19 |
|
|
|
11 |
*.manifest
|
12 |
*.spec
|
13 |
|
|
|
|
|
|
|
14 |
# Jupyter Notebook
|
15 |
.ipynb_checkpoints
|
16 |
|
Dockerfile
CHANGED
@@ -13,7 +13,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
|
16 |
-
RUN
|
17 |
-
RUN
|
18 |
|
19 |
CMD ["uvicorn", "index:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
13 |
|
14 |
COPY --chown=user . /app
|
15 |
|
16 |
+
RUN git clone https://github.com/huggingface/transformers
|
17 |
+
RUN cd transformers && pip install .
|
18 |
|
19 |
CMD ["uvicorn", "index:app", "--host", "0.0.0.0", "--port", "7860"]
|
logs.log
ADDED
File without changes
|