add paddlespeech

This commit is contained in:
cdllp2 2022-11-16 16:53:26 +08:00
parent 2fbd8b54fa
commit a9ba426550
10 changed files with 10 additions and 11 deletions

View File

@ -8,5 +8,5 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]

View File

@ -8,5 +8,5 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]

View File

@ -1,4 +1,4 @@
apt install build-essential
apt install -y build-essential
conda install -y -c conda-forge sox libsndfile swig bzip2 libflac bc
pip install pytest-runner -i https://pypi.tuna.tsinghua.edu.cn/simple

View File

@ -8,5 +8,5 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]

View File

@ -1,4 +1,4 @@
apt install build-essential
apt install -y build-essential
conda install -y -c conda-forge sox libsndfile swig bzip2 libflac bc
pip install pytest-runner -i https://pypi.tuna.tsinghua.edu.cn/simple

View File

@ -8,5 +8,5 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]

View File

@ -1,4 +1,4 @@
apt install build-essential
apt install -y build-essential
conda install -y -c conda-forge sox libsndfile swig bzip2 libflac bc
pip install pytest-runner -i https://pypi.tuna.tsinghua.edu.cn/simple

View File

@ -8,5 +8,5 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]

View File

@ -35,8 +35,7 @@ class Speech_Tts_Model(Model):
# Field(type=Field_type.text, name='spk_id', label='说话人ID',
# describe='0-283可选不一样的ID会带来不一样的声音', default=0),
Field(type=Field_type.text_select, name='spk_id', label='说话人', default='1',
choices=['1', '2', '3', '4', '5'])
choices=[str(x) for x in range(1,281)])
]
web_examples = [
{

View File

@ -8,4 +8,4 @@ RUN bash /init.sh
# 安装文件
WORKDIR /app
COPY * /app/
ENTRYPOINT ["python", "app.py"]
#ENTRYPOINT ["python", "app.py"]