diff --git a/app/app.py b/app/app.py index 799f4eb..f1b7b70 100644 --- a/app/app.py +++ b/app/app.py @@ -2,14 +2,10 @@ import os from flask import Flask, render_template, jsonify, request, abort, send_from_directory from flask_swagger import swagger from flask_swagger_ui import get_swaggerui_blueprint -from langdetect import detect_langs -from langdetect import DetectorFactory from pkg_resources import resource_filename from .api_keys import Database from app.language import detect_languages -DetectorFactory.seed = 0 # deterministic - api_keys_db = None def get_json_dict(request): diff --git a/requirements.txt b/requirements.txt index 29da098..30763a7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ flask-swagger==0.2.14 flask-swagger-ui==3.36.0 Flask-Limiter==1.4 waitress==1.4.4 -langdetect==1.0.8 expiringdict==1.2.1 pyicu==2.6 pycld2==0.41