d6edc69c65
- Flask backend with MiniMax and CosyVoice TTS engines - Frontend UI with emotion tags, speed/pitch/volume controls - Nginx reverse proxy configuration - Dual engine support (MiniMax speech-2.8-hd, CosyVoice v3.5-flash)
16 lines
300 B
Python
16 lines
300 B
Python
"""
|
|
健康检查路由
|
|
"""
|
|
|
|
from flask import Blueprint, jsonify
|
|
|
|
health_bp = Blueprint('health', __name__)
|
|
|
|
@health_bp.route('/health', methods=['GET'])
|
|
def health_check():
|
|
"""健康检查接口"""
|
|
return jsonify({
|
|
'status': 'healthy',
|
|
'message': '服务运行正常'
|
|
})
|