Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api-migration): migrate from ElevenLabs API to edge-tts library #7

Merged
merged 3 commits into from
Nov 25, 2023

Conversation

rajtilakjee
Copy link
Owner

Description

This pull request addresses the migration from the ElevenLabs API to the edge-tts library. The transition was successfully completed, ensuring compatibility and improved functionality.

Changes Made

Removed dependencies on ElevenLabs API
Integrated edge-tts library for text-to-speech functionality
Updated relevant codebase to align with the new library
Tested and verified successful migration

Related Issues

Closes #6

- Modify app/generate_podcast.py to incorporate changes for the edge_tts library.
- Modify app/keepyourmouthshut.py to reflect updates for the new TTS implementation.
- Introduce app/utils/edge_tts_stuff.py to handle TTS functionality using edge_tts.
- Delete app/utils/eleven_labs_stuff.py as it's no longer used.
- Update app/utils/llmOS_stuff.py to accommodate the transition to edge_tts.
- Modify requirements.txt to include the necessary dependencies for edge_tts.
- Introduce app/cache/__init__.py to initialize the caching module.
- Modify app/generate_podcast.py to integrate the caching mechanism for enhanced performance.
- Update app/utils/edge_tts_stuff.py to support caching and improve overall efficiency.
- Modify app/generate_podcast.py to handle the new Edge_TTS library and utilize the cached audio files.
- Update app/utils/edge_tts_stuff.py to accommodate the migration from ElevenLabs to Edge_TTS.
@rajtilakjee rajtilakjee added bug Something isn't working enhancement New feature or request labels Nov 25, 2023
@rajtilakjee rajtilakjee merged commit 5834f9b into main Nov 25, 2023
@rajtilakjee rajtilakjee deleted the dev branch November 25, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnboundLocalError: cannot access local variable 'audio_segment' where it is not associated with a value
1 participant