forked from mirrors/LibreTranslate
removed langdetect dependency
This commit is contained in:
parent
51980f6ff5
commit
d4cb859c8d
2 changed files with 0 additions and 5 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue