#!/usr/bin/env python3
"""
display.py — Live Transcription Display

Local web interface for displaying live transcription for use by deaf individuals.
Runs on port 8002 alongside bridge.py

Access at: http://localhost:8002/display
"""

import asyncio
import json
import shutil
from pathlib import Path

from fastapi import FastAPI, HTTPException, UploadFile, File
from fastapi.responses import HTMLResponse, FileResponse
from pydantic import BaseModel
import uvicorn
import websockets

SPEAKERS_FILE       = Path(__file__).parent / "speakers.json"