Refactor requirements and chatbot services; enhance service initialization and error handling for TTS and STT functionalities
malek-messaoudii
691fd14
Refactor audio processing and chatbot services; enhance STT and TTS functionalities with base64 support and session management
malek-messaoudii
56dc677
Update files
malek-messaoudii
674469e
Refactor ffmpeg installation and enhance logging; add health check endpoints for API status
malek-messaoudii
5fb4696
Update requirements to include additional dependencies and maintain formatting
malek-messaoudii
300cb09
Update requirements and refactor STT and chatbot services for improved model loading and error handling
malek-messaoudii
3b2b211
Refactor chatbot and STT services to improve model loading, response generation, and error handling; utilize Hugging Face API for STT functionality
malek-messaoudii
e8aa76b
fix errors
malek-messaoudii
a8c8142
update stt
malek-messaoudii
47a3efb
Refactor audio processing to utilize free models and enhance logging; update TTS and STT services for improved functionality
malek-messaoudii
95cb26e
Enhance configuration validation and audio processing limits
malek-messaoudii
918acab
- Added configuration validation to ensure required environment variables are set.
- Introduced MAX_AUDIO_SIZE to limit audio file uploads to 10MB.
- Updated audio processing routes to check file size before processing.
- Adjusted TTS service to handle audio data extraction more robustly.
Update config.py
malek-messaoudii
9a6ab0c
add files
malek-messaoudii
4a13628
Update audio.py
malek-messaoudii
218c6a3
Update codes
malek-messaoudii
d4b6133
Update audio.py
malek-messaoudii
520a06a
Correct files
malek-messaoudii
544d113
Update tts_service.py
malek-messaoudii
4f1c42b
Update stt_service.py
malek-messaoudii
14f424f
Refactor audio models and services for improved error handling and response streaming