ffreemt
commited on
Commit
•
55871c3
1
Parent(s):
77fcc23
Try direct restapi
Browse files- .gitignore +1 -0
- Dockerfile +2 -2
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.venv
|
Dockerfile
CHANGED
@@ -24,6 +24,6 @@ ENV PYTHONUNBUFFERED=1 \
|
|
24 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
25 |
# CMD ["TRANSFORMERS_CACHE=./", "infinity_emb", "--model-name-or-path", "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "--port", "7860"]
|
26 |
|
27 |
-
|
28 |
|
29 |
-
CMD ["python", "app.py"]
|
|
|
24 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
25 |
# CMD ["TRANSFORMERS_CACHE=./", "infinity_emb", "--model-name-or-path", "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "--port", "7860"]
|
26 |
|
27 |
+
CMD ["sh", "start-infinity-emb.sh"]
|
28 |
|
29 |
+
# CMD ["python", "app.py"]
|