Commit History

Refactor websocket_conversation function to simplify access to app state: remove request parameter and directly use websocket.app for model availability checks and audio processing tasks.
a536271

jameszokah commited on

Add websockets dependency to requirements for real-time communication support.
9f7308f

jameszokah commited on

Update requirements to include pydub dependency for audio processing and restore whisperx entry.
3fb019b

jameszokah commited on

Add project summary documentation for CSM-1B TTS: include detailed overview, core components, technical architecture, features, API structure, system requirements, performance considerations, security features, integration guidelines, future development plans, support and maintenance information, and deployment requirements.
a9028a0

jameszokah commited on

Integrate WhisperX for improved audio transcription and add real-time conversation support: update requirements to include WhisperX, refactor voice cloning to utilize WhisperX, implement WebSocket endpoints for real-time audio processing, and enhance audio transcription capabilities with alignment options.
be2a132

jameszokah commited on

Improve Hugging Face model download process: add error handling for token login and model download, log success and failure messages, and ensure model is downloaded to the correct directory.
7e09504

jameszokah commited on

Implement asynchronous database initialization: add init_db function to create collections and indexes in MongoDB, update get_db to support async, and modify main.py to await database initialization during startup.
9b31d36

jameszokah commited on

Enhance application configuration: add MongoDB settings and directory management for audio, text, and temporary files, ensuring necessary directories are created at initialization.
6fae15f

jameszokah commited on

Update requirements and enhance MongoDB connection: add certifi dependency for SSL configuration and modify connection settings for improved security and reliability.
d1171e9

jameszokah commited on

Enhance requirements and refactor migration script: add new dependencies for SQLAlchemy and Alembic, improve MongoDB migration logic with collection creation and indexing, and update logging for better traceability.
e2eee76

jameszokah commited on

Refactor database management to use MongoDB with async support; update audiobook routes for MongoDB integration and improve error handling.
68b189e

jameszokah commited on

Update Dockerfile: remove db_models directory creation and initialization from Dockerfile, streamlining the build process and improving organization by relying on separate model files.
be055a2

jameszokah commited on

Update Dockerfile: separate database configuration and model definitions into distinct files, improving organization and clarity in the db_models structure while maintaining session management functionality.
cdc12dc

jameszokah commited on

Update Dockerfile: consolidate database configuration and model definitions into a single file, enhancing organization and clarity in the db_models structure while maintaining session management functionality.
1766595

jameszokah commited on

Update Dockerfile: modify database model definitions to standardize metadata field naming from 'metadata' to 'meta_data', enhancing consistency across models and improving code clarity.
78112ae

jameszokah commited on

Update Dockerfile: enhance db_models initialization with comprehensive database configuration and session management, including engine and session factory setup, improving database interaction and organization.
0f5f90a

jameszokah commited on

Refactor application structure: rename 'models' directory to 'db_models', update import paths across multiple files, and enhance Dockerfile to create and populate the new directory, improving organization and clarity in the codebase.
df50c8c

jameszokah commited on

Update Dockerfile: create and populate models directory with new database models, enhancing application structure and organization.
1f33b89

jameszokah commited on

Refactor Dockerfile: streamline user creation and directory setup, ensure correct ownership for application files, and enhance script permissions for improved build process clarity and security.
6692ef0

jameszokah commited on

Refactor migration script: streamline the database migration process by removing Alembic dependencies, updating logging for clarity, and initializing database tables directly. Enhance error handling for improved debugging during migration execution.
bd54343

jameszokah commited on

Refactor model structure: update import paths from 'app.modelz' to 'app.models' across multiple files for consistency, remove obsolete 'modelz' directory, and adjust Dockerfile and migration script to reflect these changes, enhancing clarity and organization in the codebase.
c27f115

jameszokah commited on

Refactor application structure: update model import paths from 'app.model' to 'app.modelz' across multiple files for consistency, and introduce new database models in 'app.modelz.database' to enhance organization and clarity in the codebase.
0caca00

jameszokah commited on

Refactor imports across application files: update model import paths from 'app.models' to 'app.model' for consistency and clarity, ensuring correct module references throughout the codebase.
321ea93

jameszokah commited on

Fix Dockerfile: correct path in debug statements to accurately reflect the directory structure of model files, enhancing clarity during the build process.
d18dc62

jameszokah commited on

Enhance Dockerfile: add debug statements to display current and destination directory contents, improving visibility of file structure during the build process.
3099734

jameszokah commited on

Refactor Dockerfile: streamline directory creation by removing redundant model paths, prioritize copying the entire app directory, and enhance debug verification for model files.
08dd4fb

jameszokah commited on

Update Dockerfile: adjust model file copy paths to include the full directory structure for consistency and improve debug verification by listing copied files in the correct location.
b66c69a

jameszokah commited on

Refactor Dockerfile: reorganize file copying to prioritize model files, add necessary directory creation upfront, and enhance debug verification for copied models.
96f83bf

jameszokah commited on

Enhance Dockerfile and migration script: add debug verification for copied files in Dockerfile, and update logging in migrate.py to reflect changes in PYTHONPATH and improve error handling with detailed directory listings on import failure.
890b0ad

jameszokah commited on

Refactor Dockerfile and migration script: adjust directory creation order in Dockerfile for improved clarity, and enhance logging in migrate.py to include current directory and file existence checks for better debugging.
d5bb983

jameszokah commited on

Refactor Dockerfile and migration script: simplify PYTHONPATH configuration in Dockerfile, enhance directory creation, and improve error handling in migrate.py by logging directory contents on import failure.
053d168

jameszokah commited on

Refactor Dockerfile: streamline user creation and permissions setup, enhance storage directory creation, and ensure run script is executable.
b531a07

jameszokah commited on

Refactor Dockerfile and migration scripts: update Dockerfile to use Python slim image, streamline environment variable settings, and enhance permissions handling. Modify migrate.py to improve module path management and error handling, and update run.sh for better directory structure and debugging output.
bed415e

jameszokah commited on

Refactor app initialization and migration script: make __init__.py intentionally empty for package structure, and update migrate.py to include project root in Python path for improved module accessibility.
275b1e7

jameszokah commited on

Refactor model imports across the application: update import paths from 'app.models' to 'app.model' in multiple files, and remove the now redundant models.py file.
ac008cf

jameszokah commited on

Refactor application imports and migration script: update model import paths in env.py and migrate.py, enhance app initialization in __init__.py, and modify PYTHONPATH in run.sh for improved directory structure.
126ae8d

jameszokah commited on

Fix formatting in config.py: ensure consistent newline at end of file in the get_settings function.
4231eb9

jameszokah commited on

Update database configuration and add application settings: change SQLite database path in alembic.ini and create a new config.py file for managing application settings with environment variables.
505bbe5

jameszokah commited on

Update Alembic configuration and migration scripts: change script location and version path in alembic.ini, add env.py for migration management, create initial migration script for audiobooks table, and implement migration execution in a new migrate.py script.
d4255ec

jameszokah commited on

Update Dockerfile and application imports: modify PYTHONPATH in Dockerfile and run script to include additional app directory, enhance model imports in audiobook_routes.py and migrations/env.py, and add missing imports in main.py.
857bebe

jameszokah commited on

Enhance Dockerfile and application structure: set PYTHONPATH in Dockerfile and run script, add __init__.py to app package, and improve model import error handling in migrations/env.py.
fe51676

jameszokah commited on

Update migration environment and run script: import additional models in env.py, enhance run.sh to create storage directories and initialize SQLite database with alembic migrations.
892ed24

jameszokah commited on

Update requirements and clean up run script: add alembic and SQLAlchemy dependencies, and remove unnecessary permission commands from the run script.
28621c6

jameszokah commited on

Refactor Dockerfile: streamline user creation and permissions setup, ensure run script is executable, and improve directory structure for application storage.
09508f5

jameszokah commited on

Refactor Dockerfile and add run script: streamline multi-stage build, set up application structure, and create a new run script for environment initialization and database migration; update migrations/env.py for improved error handling during model import.
f08f6c6

jameszokah commited on

Enhance Docker setup: update docker-entrypoint.sh to set PYTHONPATH, modify Dockerfile to create a proper package structure and adjust permissions for storage and migrations directories; update migrations/env.py to include application root in Python path.
6712559

jameszokah commited on

Refactor Docker setup: update docker-compose.yml to define app and db services, adjust ports, and configure environment variables; modify Dockerfile to use Python base image, install necessary dependencies, and set up application structure.
63f90ce

jameszokah commited on

Initialize database and add storage directories; include audiobook routes
74c62a2

jameszokah commited on

UNDO the update for the path to the that was casing permission issues in entire app
23beeea

jameszokah commited on

updated the path to the that was casing permission issues in entire app
6f1d384

jameszokah commited on