Commit History

Fix TTS language issue by dynamically updating model in /translate-audio endpoint
2b35bda
verified

Jerich commited on

Removed webrtcvad to avoid the build error.
49a0a85
verified

Jerich commited on

Replaced librosa with torchaudio for audio loading and resampling. Added speech detection (energy-based or webrtcvad for accuracy). Improved /translate-audio endpoint to handle silent audio gracefully.
b0c2331
verified

Jerich commited on

Updated title to Talklas API. Added description of /translate-audio endpoint with speech detection feature. Included Features section (speech detection, supported models) and Supported Languages section.
8157595
verified

Jerich commited on

Added apt-get install for libsndfile1 (required by soundfile) and ffmpeg (required by torchaudio).
04d442c
verified

Jerich commited on

Replaced librosa with torchaudio; removed librosa and numba. Added torchaudio (audio processing) and webrtcvad (optional voice activity detection).
40a94e0
verified

Jerich commited on

Pin librosa to a known stable version and ensure numba is compatible
824f995
verified

Jerich commited on

Fix TTS error by updating save_pcm_to_wav to handle 16-bit audio samples correctly using NumPy tobytes()
bf59705
verified

Jerich commited on

Fix PermissionError by changing AUDIO_DIR to /tmp/audio_output for Hugging Face Spaces
e79c9c5
verified

Jerich commited on

Fix PermissionError by setting AUDIO_DIR to /app/audio_output for Hugging Face Spaces compatibility
060630c
verified

Jerich commited on

Update audio handling: Save synthesized audio as WAV, return URL, set 10-min expiration with 5-min cleanup interval
eacfbe2
verified

Jerich commited on

Switch STT model to facebook/mms-1b-all with Whisper fallback
98d2781
verified

Jerich commited on

Fix STT error by removing return_attention_mask and address forced_decoder_ids warning
62f9c95
verified

Jerich commited on

Fix MT error by removing clean_up_tokenization_spaces and address STT warnings
e656c37
verified

Jerich commited on

Update app.py
989a3f5
verified

Jerich commited on

Add MT with NLLB-200-distilled-600M and TTS with MMS-TTS
f56283f
verified

Jerich commited on

Fix torch import error in translate-audio endpoint
f8dca01
verified

Jerich commited on

Add STT functionality with openai/whisper-tiny
faf4aa8
verified

Jerich commited on

Add STT functionality with openai/whisper-tiny
ec27d4d
verified

Jerich commited on

Update README.md
c10c930
verified

Jerich commited on

Update app.py
aef3d4f
verified

Jerich commited on

Deploy minimal FastAPI app to test Hugging Face Spaces compatibility
f5b1ec8
verified

Jerich commited on

Deploy minimal FastAPI app to test Hugging Face Spaces compatibility
5f26e89
verified

Jerich commited on

Update app.py
2fe79f5
verified

Jerich commited on

Added pydantic for speech translation system
55878bb
verified

Jerich commited on

Update Dockerfile with proper caching and environment variables
4a3f84d
verified

Jerich commited on

Implement lazy loading of ML models to fix startup timeout on HF Spaces
352aa0e
verified

Jerich commited on

Fix MT model loading: Revert to nllb-200-distilled-600M and add fallback
6a1bf6c
verified

Jerich commited on

Further optimize memory usage: Switch to nllb-200-distilled-200M and add Uvicorn debug logging
e868e42
verified

Jerich commited on

Optimize app for Hugging Face Spaces: Switch to whisper-tiny, add health check, and improve model loading
1881cc0
verified

Jerich commited on

Replaced the openai/whisper-tiny references with openai/whisper-small
4279e53
verified

Jerich commited on

Modified the _initialize_tts_model method to include the clean_up_tokenization_spaces parameter; Added logging configuration to configure the logging level for transformers in app.py
f12e9dc
verified

Jerich commited on

Modified the tokenization step to include clean_up_tokenization_spaces=True; Added clean_up_tokenization_spaces=True in the text_to_speech method; Added a print statement to confirm the TTS model is loaded
5b5fc47
verified

Jerich commited on

Removed the TRANSFORMERS_CACHE environment variable
3cc49a2
verified

Jerich commited on

Removed the TRANSFORMERS_CACHE environment variable and its associated debug print statement.
741c20d
verified

Jerich commited on

Added python-multipart
fa5448d
verified

Jerich commited on

Update app.py
52830c5
verified

Jerich commited on

Set the Cache Directory Explicitly
de6eef4
verified

Jerich commited on

Update requirements.txt
43a7f05
verified

Jerich commited on

Create Dockerfile
cb67677
verified

Jerich commited on

Set sdk: docker
7e11802
verified

Jerich commited on

Removed SDK
77a6466
verified

Jerich commited on

Update requirements.txt
388f530
verified

Jerich commited on

Removed flask, and flask-cors; Added fastapi, and uvicorn
fba973c
verified

Jerich commited on

Modified the code with API endpoints
4763326
verified

Jerich commited on

Update app.py
fff0177
verified

Jerich commited on

Update README.md
6b19945
verified

Jerich commited on

Added flask, and flask-cors; Removed fastapi, uvicorn, and pydantic as dependencies
860aa9c
verified

Jerich commited on

API integration for the Talklas pipeline
de2c35e
verified

Jerich commited on

Added fastapi, uvicorn, and pydantic as dependencies
f24e508
verified

Jerich commited on