update
This commit is contained in:
1
AzA march 2026/apps/__init__.py
Normal file
1
AzA march 2026/apps/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# AZA Add-ons (Audio-Notiz, etc.)
|
||||
14
AzA march 2026/apps/diktat/.env.audio_notiz.example
Normal file
14
AzA march 2026/apps/diktat/.env.audio_notiz.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# Audio-Notiz Beispielkonfiguration
|
||||
# Datei nach ".env" kopieren und Werte anpassen.
|
||||
|
||||
OPENAI_API_KEY=sk-...
|
||||
|
||||
# Optional: eigenes API-Gateway / Reverse Proxy
|
||||
# OPENAI_BASE_URL=https://api.openai.com/v1
|
||||
|
||||
# Optional: falls Firmen-Proxy notwendig ist
|
||||
# OPENAI_HTTP_PROXY=http://user:pass@proxy.company.local:8080
|
||||
# OPENAI_HTTPS_PROXY=http://user:pass@proxy.company.local:8080
|
||||
|
||||
# Optionales Modell
|
||||
# TRANSCRIBE_MODEL=gpt-4o-mini-transcribe
|
||||
13
AzA march 2026/apps/diktat/Audio-Notiz starten.bat
Normal file
13
AzA march 2026/apps/diktat/Audio-Notiz starten.bat
Normal file
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
title AZA Audio-Notiz
|
||||
cd /d "%~dp0"
|
||||
python audio_notiz_app.py
|
||||
if %errorlevel% neq 0 (
|
||||
echo.
|
||||
echo Fehler beim Starten. Stellen Sie sicher, dass Python installiert ist.
|
||||
echo Benoetigte Pakete: openai, sounddevice, numpy, python-dotenv
|
||||
echo.
|
||||
echo Installation: pip install openai sounddevice numpy python-dotenv
|
||||
echo.
|
||||
pause
|
||||
)
|
||||
1
AzA march 2026/apps/diktat/__init__.py
Normal file
1
AzA march 2026/apps/diktat/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# AZA Audio-Notiz / Diktat Add-on
|
||||
23
AzA march 2026/apps/diktat/audio_notiz_app.py
Normal file
23
AzA march 2026/apps/diktat/audio_notiz_app.py
Normal file
@@ -0,0 +1,23 @@
|
||||
"""Startskript fuer die Audio-Notiz (Standalone)."""
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
||||
def main():
|
||||
"""Einstiegspunkt fuer Launcher/Import (auch wenn frozen)."""
|
||||
_diktat_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
if _diktat_dir not in sys.path:
|
||||
sys.path.insert(0, _diktat_dir)
|
||||
|
||||
try:
|
||||
from apps.diktat.diktat_app import DiktatApp
|
||||
except ImportError:
|
||||
from diktat_app import DiktatApp
|
||||
|
||||
app = DiktatApp()
|
||||
app.mainloop()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
3
AzA march 2026/apps/diktat/audio_notiz_settings.json
Normal file
3
AzA march 2026/apps/diktat/audio_notiz_settings.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"geometry": "120x78+2019+80"
|
||||
}
|
||||
1264
AzA march 2026/apps/diktat/diktat_app.py
Normal file
1264
AzA march 2026/apps/diktat/diktat_app.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user