Spaces:
Sleeping
Sleeping
ajaxwin commited on
Commit ·
878ca5a
1
Parent(s): 7fe808d
dockerfile updated
Browse files- Dockerfile +1 -1
- pyproject.toml +3 -3
- requirements.txt +1 -1
- uv.lock +0 -0
Dockerfile
CHANGED
|
@@ -72,7 +72,7 @@ ENV PATH="/app/.venv/bin:$PATH"
|
|
| 72 |
ENV PYTHONPATH="/app/env:$PYTHONPATH"
|
| 73 |
|
| 74 |
# Download NLTK data
|
| 75 |
-
RUN
|
| 76 |
|
| 77 |
# Health check
|
| 78 |
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
|
|
| 72 |
ENV PYTHONPATH="/app/env:$PYTHONPATH"
|
| 73 |
|
| 74 |
# Download NLTK data
|
| 75 |
+
RUN /app/.venv/bin/python -m nltk.downloader wordnet omw-1.4 stopwords punkt averaged_perceptron_tagger_eng punkt_tab
|
| 76 |
|
| 77 |
# Health check
|
| 78 |
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
pyproject.toml
CHANGED
|
@@ -12,13 +12,13 @@ build-backend = "setuptools.build_meta"
|
|
| 12 |
name = "openenv-smartcontractenv"
|
| 13 |
version = "1.0.0"
|
| 14 |
description = "Smartcontractenv environment for OpenEnv"
|
| 15 |
-
requires-python = ">=3.
|
| 16 |
dependencies = [
|
| 17 |
"openenv-core[core]>=0.2.0",
|
| 18 |
"fastapi==0.115.0",
|
| 19 |
"uvicorn[standard]==0.30.6",
|
| 20 |
"pydantic==2.8.2",
|
| 21 |
-
"openai=
|
| 22 |
"httpx==0.27.2",
|
| 23 |
"python-multipart==0.0.9",
|
| 24 |
"pyyaml==6.0.2",
|
|
@@ -26,7 +26,7 @@ dependencies = [
|
|
| 26 |
"numpy==2.1.1",
|
| 27 |
"scikit-learn==1.5.0",
|
| 28 |
"sentence-transformers==3.0.1",
|
| 29 |
-
"nltk==3.9.4"
|
| 30 |
]
|
| 31 |
|
| 32 |
[project.optional-dependencies]
|
|
|
|
| 12 |
name = "openenv-smartcontractenv"
|
| 13 |
version = "1.0.0"
|
| 14 |
description = "Smartcontractenv environment for OpenEnv"
|
| 15 |
+
requires-python = ">=3.12"
|
| 16 |
dependencies = [
|
| 17 |
"openenv-core[core]>=0.2.0",
|
| 18 |
"fastapi==0.115.0",
|
| 19 |
"uvicorn[standard]==0.30.6",
|
| 20 |
"pydantic==2.8.2",
|
| 21 |
+
"openai>=2.7.2",
|
| 22 |
"httpx==0.27.2",
|
| 23 |
"python-multipart==0.0.9",
|
| 24 |
"pyyaml==6.0.2",
|
|
|
|
| 26 |
"numpy==2.1.1",
|
| 27 |
"scikit-learn==1.5.0",
|
| 28 |
"sentence-transformers==3.0.1",
|
| 29 |
+
"nltk==3.9.4",
|
| 30 |
]
|
| 31 |
|
| 32 |
[project.optional-dependencies]
|
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
fastapi==0.115.0
|
| 2 |
uvicorn[standard]==0.30.6
|
| 3 |
pydantic==2.8.2
|
| 4 |
-
openai=
|
| 5 |
httpx==0.27.2
|
| 6 |
python-multipart==0.0.9
|
| 7 |
pyyaml==6.0.2
|
|
|
|
| 1 |
fastapi==0.115.0
|
| 2 |
uvicorn[standard]==0.30.6
|
| 3 |
pydantic==2.8.2
|
| 4 |
+
openai>=2.7.2
|
| 5 |
httpx==0.27.2
|
| 6 |
python-multipart==0.0.9
|
| 7 |
pyyaml==6.0.2
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|