Upload 144 files
Browse files- Dockerfile +2 -3
- README.md +1 -2
- requirements.txt +2 -3
Dockerfile
CHANGED
|
@@ -46,9 +46,8 @@ RUN curl -fsSL -o /tmp/lt.zip https://languagetool.org/download/LanguageTool-sta
|
|
| 46 |
&& test -f /opt/languagetool/languagetool-server.jar
|
| 47 |
|
| 48 |
COPY requirements.txt .
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
&& python -c "import nltk; nltk.download('wordnet'); nltk.download('omw-1.4')"
|
| 52 |
|
| 53 |
COPY app ./app
|
| 54 |
COPY app.py .
|
|
|
|
| 46 |
&& test -f /opt/languagetool/languagetool-server.jar
|
| 47 |
|
| 48 |
COPY requirements.txt .
|
| 49 |
+
# spaCy model wheel is listed in requirements.txt; no NLTK/WordNet (structural engine)
|
| 50 |
+
RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
|
|
| 51 |
|
| 52 |
COPY app ./app
|
| 53 |
COPY app.py .
|
README.md
CHANGED
|
@@ -20,8 +20,7 @@ Auth (optional): **Supabase** Google + email login, Free/Pro/Plus quotas. See [d
|
|
| 20 |
|
| 21 |
```bash
|
| 22 |
pip install -r requirements.txt
|
| 23 |
-
|
| 24 |
-
python -c "import nltk; nltk.download('wordnet'); nltk.download('omw-1.4')"
|
| 25 |
```
|
| 26 |
|
| 27 |
### 2. Env (optional auth)
|
|
|
|
| 20 |
|
| 21 |
```bash
|
| 22 |
pip install -r requirements.txt
|
| 23 |
+
# spaCy en_core_web_sm is included via the wheel URL in requirements.txt
|
|
|
|
| 24 |
```
|
| 25 |
|
| 26 |
### 2. Env (optional auth)
|
requirements.txt
CHANGED
|
@@ -8,7 +8,6 @@ python-multipart>=0.0.9
|
|
| 8 |
httpx>=0.27.0
|
| 9 |
PyJWT[crypto]>=2.8.0
|
| 10 |
python-dotenv>=1.0.0
|
| 11 |
-
pytest>=8.0.0
|
| 12 |
|
| 13 |
# Optional: MiniLM safety scoring only (ENGINE_USE_MINILM_SAFETY=true)
|
| 14 |
# fastembed>=0.4.2
|
|
@@ -17,5 +16,5 @@ pytest>=8.0.0
|
|
| 17 |
# sentencepiece>=0.2.0
|
| 18 |
# accelerate>=0.30.0
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
#
|
|
|
|
| 8 |
httpx>=0.27.0
|
| 9 |
PyJWT[crypto]>=2.8.0
|
| 10 |
python-dotenv>=1.0.0
|
|
|
|
| 11 |
|
| 12 |
# Optional: MiniLM safety scoring only (ENGINE_USE_MINILM_SAFETY=true)
|
| 13 |
# fastembed>=0.4.2
|
|
|
|
| 16 |
# sentencepiece>=0.2.0
|
| 17 |
# accelerate>=0.30.0
|
| 18 |
|
| 19 |
+
# Dev/test (not required for Docker runtime)
|
| 20 |
+
# pytest>=8.0.0
|