Complete Refactor

This commit is contained in:
2025-03-30 01:28:07 -04:00
parent 158afc78c7
commit 46be33b10a
28 changed files with 723 additions and 3081 deletions

13
Backend/config.py Normal file
View File

@@ -0,0 +1,13 @@
from pathlib import Path
class Config:
def __init__(self):
self.MODEL_PATH = Path("path/to/your/model")
self.AUDIO_MODEL_PATH = Path("path/to/your/audio/model")
self.WATERMARK_KEY = "your_watermark_key"
self.SOCKETIO_CORS = "*"
self.API_KEY = "your_api_key"
self.DEBUG = True
self.LOGGING_LEVEL = "INFO"
self.TTS_SERVICE_URL = "http://localhost:5001/tts"
self.TRANSCRIPTION_SERVICE_URL = "http://localhost:5002/transcribe"