Extracted ElevenLabs-specific functions from main.py into a dedicated utility module elevenlabs.py.
Description
To further enhance code modularity and clarity, functions related to ElevenLabs, including voice data retrieval and text-to-speech processing, have been separated from the main application code (main.py) and placed in their own utility module (elevenlabs.py). This restructuring ensures that each module focuses on a specific domain, making the codebase more maintainable and organized.
Related Issue(s)
47
Motivation and Context
With the expanding functionalities of our application, having a modular structure is crucial. Segregating ElevenLabs specific logic:
Facilitates easier debugging and testing of ElevenLabs related features.
Reduces the complexity of main.py, making it more readable.
Adheres to good coding practices, ensuring that each module/file has a clear and distinct responsibility.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[x] New feature (non-breaking change which adds functionality)
Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!
[x] My code follows the code style of this project.
Summary
Extracted ElevenLabs-specific functions from
main.py
into a dedicated utility moduleelevenlabs.py
.Description
To further enhance code modularity and clarity, functions related to ElevenLabs, including voice data retrieval and text-to-speech processing, have been separated from the main application code (
main.py
) and placed in their own utility module (elevenlabs.py
). This restructuring ensures that each module focuses on a specific domain, making the codebase more maintainable and organized.Related Issue(s)
47
Motivation and Context
With the expanding functionalities of our application, having a modular structure is crucial. Segregating ElevenLabs specific logic:
main.py
, making it more readable.Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!