refactor: Remove notebook and establish API routing structure.
S01Nour
65bf3d8
Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models
S01Nour
6db5781
feat: Add text generation API endpoint with T5 model integration.
S01Nour
0d13811
Refactor MCP tool handling to use hardcoded tool definitions and improve return value handling in health check and tool calls
malek-messaoudii
b36d7d0
Update mcp_service.py
malek-messaoudii
812086d
update mcp part
malek-messaoudii
1315b27
correct main
malek-messaoudii
3c58a94
Update mcp_service.py
malek-messaoudii
f186b6f
Update mcp_service.py
malek-messaoudii
3677973
update mcp part
malek-messaoudii
83c5f9d
add mcp part
malek-messaoudii
8791d59
Update chat voice part
malek-messaoudii
a71355d
Update chat endpoints
malek-messaoudii
c059296
Add chat part
malek-messaoudii
1d46e48
Correct version
malek-messaoudii
c45f0d6
update services
malek-messaoudii
1e7709f
CORRECT services
malek-messaoudii
587fe4f
Update stt_service.py
malek-messaoudii
209f7bb
Update main
malek-messaoudii
d43ba60
Add groq apis
malek-messaoudii
2da4544
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
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.
add files
malek-messaoudii
4a13628
Update codes
malek-messaoudii
d4b6133
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
malek-messaoudii
9aa985d
Update gemini_client.py
malek-messaoudii
e411044
update env
malek-messaoudii
91b1985
add gemini api
malek-messaoudii
73d4f3c
Add tts/stt services
malek-messaoudii
c7fc3b6
'add'
malek-messaoudii
fd65bc8
Update training script and model files
malek-messaoudii
cfbe56e
Update training script and model files
malek-messaoudii
d9d9974
add model
malek-messaoudii
9af5350
Enhance KpaModelManager to load fine-tuned weights from Hugging Face and update requirements to include huggingface_hub
Yassine Mhirsi
d289997
Add KPA model integration and update configuration for label predictions
Yassine Mhirsi
f28285b
up
malek-messaoudii
d02227d
Add Kpa classification model
malek-messaoudii
03d23e8
Fix formatting in stance_model_manager.py by adjusting whitespace in tokenizer loading code