Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified handlers/svg-open-street-map/requirements.txt
Binary file not shown.
9 changes: 4 additions & 5 deletions preprocessors/ner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM ubuntu:20.04
FROM python:3.11-bookworm

ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
ENV JAVA_HOME=/usr/lib/jvm/default-java

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
openjdk-8-jdk \
python3-pip \
gcc \
build-essential \
default-jre-headless \
git \
curl \
&& apt-get clean && \
Expand Down
4 changes: 1 addition & 3 deletions preprocessors/ner/clipscore.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
'''
import argparse
import clip
import sklearn.preprocessing
import torch
from PIL import Image
from sklearn.preprocessing import normalize
from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize
import torch
import tqdm
import numpy as np
import sklearn.preprocessing
import collections
import os
import pathlib
Expand Down
12 changes: 6 additions & 6 deletions preprocessors/ner/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ bs4==0.0.1
imgkit==1.2.2
nltk==3.7
gunicorn==23.0.0
pillow==12.1.1
torch==1.13.1
pillow==12.2.0
torch==2.6.0
tqdm~=4.66.3
torchvision==0.8.2
clip-by-openai==1.1
scikit-learn==1.1.2
torchvision==0.21.0
scikit-learn==1.5.2
packaging==21.3
jsonschema==4.23.0
Flask==3.1.3
pycocoevalcap==1.2
git+https://github.com/openai/CLIP
# Pin the tested CLIP commit used for the Python 3.11-compatible NER build.
git+https://github.com/openai/CLIP@d05afc436d78f1c48dc0dbf8e5980a9d471f35f6
2 changes: 1 addition & 1 deletion services/espnet-tts-fr/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
espnet==202207
espnet_model_zoo==0.1.7
Flask==3.1.3
Flask==2.2.5
gunicorn==23.0.0
jsonschema==4.4.0
parallel_wavegan==0.5.5
Expand Down
2 changes: 1 addition & 1 deletion services/espnet-tts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
espnet==0.10.0
espnet_model_zoo==0.1.7
Flask==3.1.3
Flask==2.2.5
gunicorn==23.0.0
jsonschema==4.4.0
parallel_wavegan==0.5.4
Expand Down
Loading