Spaces:
Sleeping
Sleeping
Commit History
-
Enhance Dockerfile and main.py for improved caching and health check endpoint
Arseniy SavinUpdated the Dockerfile to include additional system dependencies and set up writable cache directories for user data. Added environment variables to manage cache paths effectively. In main.py, introduced a new root endpoint to return a simple status check, improving the application's health monitoring capabilities.d7ee472 -
Refactor Dockerfile and main.py for faster-whisper integration
Arseniy SavinUpdated the Dockerfile to switch from alpine to python:3.11-slim, simplifying the build process and removing unnecessary build steps. Added installation of system dependencies and Python packages. In main.py, refactored the transcription logic to utilize the faster-whisper library, enhancing performance and simplifying the model loading process. Removed unused imports and improved error handling in the transcription endpoint.740950d -
Fix Dockerfile to use a hardcoded model name for Whisper.cpp server execution, removing ARG parameterization for model selection.
Arseniy Savinf896d57 -
Update Dockerfile to enable flash attention in Whisper.cpp server command
Arseniy Savin5217f76 -
Update Dockerfile to parameterize model selection for Whisper.cpp server
Arseniy SavinRevised the Dockerfile to allow dynamic model selection via an ARG variable, enhancing flexibility in model usage during container execution.95086c6 -
Refactor CMD in Dockerfile to remove real-time printing option for Whisper.cpp server
Arseniy Savincf9d4ce -
Update CMD in Dockerfile to use environment variable for port and simplify command execution
Arseniy Savinc6b83a2 -
Update CMD in Dockerfile to include real-time printing for Whisper.cpp server
Arseniy Savin4c88453 -
Refactor Dockerfile for Whisper.cpp application build process
Arseniy SavinRevised the Dockerfile to utilize a multi-stage build approach, separating the build and runtime environments. This change improves efficiency by reducing the final image size and ensuring only necessary dependencies are included in the runtime stage. The Whisper.cpp source code is now fetched and built during the build stage, with the model downloaded as part of the process.1ecbdb7
-
Enhance Dockerfile for Whisper.cpp application
Arseniy SavinUpdated the Dockerfile to include a stable cache path for user data and pre-download the Whisper.cpp model during the build process. This ensures the model is baked into the image, improving efficiency by avoiding re-downloads at container start.8feef52 -
Refactor transcription logic to use n_threads parameter directly
Arseniy SavinUpdated the transcription function to accept n_threads as a keyword argument instead of num_proc. This change aligns with the pywhispercpp library's usage and improves clarity in the code.06664bd -
Add bearer token authentication to FastAPI application
Arseniy SavinImplemented SHA-256 token validation for secure access to endpoints. Added a default token hash and updated the health and transcribe routes to require authentication. This enhances security by ensuring only authorized users can access the application.a8277c5 -
Implement initial setup for Whisper.cpp FastAPI application with Docker support. Added Dockerfile, main application logic, requirements, and updated README with usage instructions and environment variables.
Arseniy Savin5aea4af -
initial commit
Verified signature9e5239c