feature:支持翻译歌词

This commit is contained in:
charlesxie
2023-07-29 16:10:56 +08:00
parent ff6dfc66fe
commit 017ec5a93c
5 changed files with 5404 additions and 4 deletions

View File

@@ -4,7 +4,8 @@ import time
import requests
import translators as ts
from component import translators as ts
def translation_lyc_text(contents):

View File

@@ -0,0 +1,5 @@
__version__ = "5.8.0"
__author__ = "UlionTse"
from .server import translate_text, translate_html, translators_pool, get_languages, preaccelerate_and_speedtest

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libpq-dev \
default-libmysqlclient-dev \
libffi-dev \
libjpeg-dev
libjpeg-dev \
libxml2 \
libxslt1-dev \
libssl-dev \
python-dev
# Requirements are installed here to ensure they will be cached.
COPY ./requirements .
# Create Python Dependency and Sub-Dependency Wheels.

View File

@@ -6,7 +6,7 @@ django-cors-headers==3.2.1
django-filter==2.0.0
djangorestframework==3.8.1
python-dateutil==2.8.2
requests==2.27.1
requests==2.31.0
gunicorn==20.1.0
gevent==21.12.0
djangorestframework-jwt==1.11.0
@@ -19,5 +19,4 @@ redis==3.2.0
mysqlclient==1.4.4
sqlalchemy==1.4.23
PyExecJS==1.5.1
translators==5.8.0