Say v1.0.0: голосовой ассистент Whisper + 3 LLM

This commit is contained in:
2026-05-31 15:39:33 +03:00
commit a321541578
15 changed files with 1072 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
"""
Роуты HTML-страниц.
GET / — главная страница (интерфейс с микрофоном).
GET /health — проверка живости сервера.
"""
from flask import Blueprint, render_template, jsonify
pages_bp = Blueprint("pages", __name__)
@pages_bp.route("/")
def index():
"""Главная страница с тремя кнопками записи (по одной на каждый ЛЛМ)."""
return render_template("index.html")
@pages_bp.route("/health")
def health():
"""Проверка работоспособности сервера."""
return jsonify({"status": "ok"})