Spaces:
Sleeping
Sleeping
Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +2 -2
- requirements.txt +3 -3
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
-
FROM python:3.
|
5 |
|
6 |
# The two following lines are requirements for the Dev Mode to be functional
|
7 |
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
@@ -9,7 +9,7 @@ RUN useradd -m -u 1000 user
|
|
9 |
WORKDIR /app
|
10 |
|
11 |
COPY --chown=user ./requirements.txt requirements.txt
|
12 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
EXPOSE 7860
|
15 |
|
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
+
FROM python:3.12
|
5 |
|
6 |
# The two following lines are requirements for the Dev Mode to be functional
|
7 |
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
|
|
9 |
WORKDIR /app
|
10 |
|
11 |
COPY --chown=user ./requirements.txt requirements.txt
|
12 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
EXPOSE 7860
|
15 |
|
requirements.txt
CHANGED
@@ -39,7 +39,7 @@
|
|
39 |
# jsonpatch #==1.33
|
40 |
# jsonpointer #==2.4
|
41 |
# kubernetes #==29.0.0
|
42 |
-
langchain
|
43 |
langchain-chroma #==0.1.0
|
44 |
langchain-community #==0.0.34
|
45 |
langchain-core # #==0.1.46
|
@@ -127,6 +127,6 @@ youtube-transcript-api
|
|
127 |
# pytube
|
128 |
openpyxl
|
129 |
pysqlite3-binary
|
130 |
-
langchain_nomic
|
131 |
pydub
|
132 |
-
praisonai==0.0.57
|
|
|
39 |
# jsonpatch #==1.33
|
40 |
# jsonpointer #==2.4
|
41 |
# kubernetes #==29.0.0
|
42 |
+
langchain #==0.1.16 #==0.2.10
|
43 |
langchain-chroma #==0.1.0
|
44 |
langchain-community #==0.0.34
|
45 |
langchain-core # #==0.1.46
|
|
|
127 |
# pytube
|
128 |
openpyxl
|
129 |
pysqlite3-binary
|
130 |
+
# langchain_nomic
|
131 |
pydub
|
132 |
+
praisonai==0.0.57
|