PTTS WebAPP
1.0.0
[TOC]
Flask + Vue (Framework : Vuetify)를 사용하여 수행 된 음성 합성을위한 단일 웹 데모 프로젝트 인 Speech Synthesis Backend는 내 합성의 다른 프로젝트를 기반으로합니다.
.
|--- backend/
|--- pretrained/ # 预训练模型
|--- mytts.py # 封装 TTS 类
|--- ...
|--- dist/ # 前端的编译输出
|--- frontend/
|--- public/
|--- src/
|--- components/
|--- MyParaTTS.vue # 语音合成页面
|--- ...
|--- ...
|--- client.py # 接口测试脚本
|--- LICENSE
|--- README.md # 说明文档
|--- requirements.txt # 依赖文件
|--- server.py # 服务器端启动脚本
$ git clone https://github.com/atomicoo/PTTS-WebAPP.git
$ cd PTTS-WebAPP/frontend/
$ npm install --save
$ npm run dev
$ cd ..
$ pip install -r requirements.txt
$ python server.py
$ python client.py npm run dev 명령을 실행 한 후 프론트 엔드 코드의 컴파일 출력은 ./dist/ 디렉토리의 프로젝트의 루트 디렉토리에서 생성되어야합니다.
python server.py 명령을 실행 한 후 서버 측이 시작되었습니다. 먼저 python client.py 시도하여 음성 합성 인터페이스가 정상인지 테스트 할 수 있습니다.
이 시점에서 모든 것이 정상이라면 http : // localhost : 5000/직접 방문하십시오.
./config/ ./pretrained/ 모델 파일 아래에 구성 파일을 교체하면 완전히 테스트되지 않았을 것입니다.