Neuer Ordner `windows-dictate/`: kleiner Python-Tray-Client für Windows. Hotkey halten (Default F8) = Mikro aufnehmen, loslassen = WAV per Multipart an den bestehenden `POST /api/transcribe`-Endpoint vom Mac-Worker schicken, Antwort am Cursor via Zwischenablage + Strg+V einfügen. Keine Server-Änderung nötig. Enthält dictate.py (Recorder + Tray + Hotkey), config.example.toml, requirements.txt, build.bat (PyInstaller), README mit Setup und Streaming-Upgrade-Pfad.
17 lines
455 B
Batchfile
17 lines
455 B
Batchfile
@echo off
|
|
REM Standalone .exe fuer Voice-Agent Diktat bauen.
|
|
REM Vorab einmal:
|
|
REM python -m venv .venv
|
|
REM .venv\Scripts\activate
|
|
REM pip install -r requirements.txt
|
|
REM pip install pyinstaller
|
|
|
|
pyinstaller --noconfirm --onefile ^
|
|
--name VoiceAgentDictate ^
|
|
--add-data "config.example.toml;." ^
|
|
dictate.py
|
|
|
|
echo.
|
|
echo Fertig. EXE liegt in dist\VoiceAgentDictate.exe
|
|
echo Daneben config.toml ablegen (aus config.example.toml kopiert).
|