sinapsis-speech 0.2.0__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. sinapsis_speech-0.2.2/PKG-INFO +266 -0
  2. sinapsis_speech-0.2.2/packages/sinapsis_speech.egg-info/PKG-INFO +266 -0
  3. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_speech.egg-info/requires.txt +1 -1
  4. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/pyproject.toml +5 -4
  5. sinapsis_speech-0.2.0/PKG-INFO +0 -926
  6. sinapsis_speech-0.2.0/packages/sinapsis_speech.egg-info/PKG-INFO +0 -926
  7. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/LICENSE +0 -0
  8. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/README.md +0 -0
  9. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/__init__.py +0 -0
  10. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/helpers/__init__.py +0 -0
  11. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/helpers/env_var_keys.py +0 -0
  12. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/helpers/voice_utils.py +0 -0
  13. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/templates/__init__.py +0 -0
  14. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/templates/elevenlabs_base.py +0 -0
  15. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/templates/elevenlabs_tts.py +0 -0
  16. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_elevenlabs/src/sinapsis_elevenlabs/templates/elevenlabs_voice_generation.py +0 -0
  17. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_f5_tts/src/sinapsis_f5_tts/__init__.py +0 -0
  18. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_f5_tts/src/sinapsis_f5_tts/templates/__init__.py +0 -0
  19. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_f5_tts/src/sinapsis_f5_tts/templates/f5_tts_inference.py +0 -0
  20. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_speech.egg-info/SOURCES.txt +0 -0
  21. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_speech.egg-info/dependency_links.txt +0 -0
  22. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_speech.egg-info/top_level.txt +0 -0
  23. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/__init__.py +0 -0
  24. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/helpers/__init__.py +0 -0
  25. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/helpers/zonos_keys.py +0 -0
  26. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/helpers/zonos_tts_utils.py +0 -0
  27. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/templates/__init__.py +0 -0
  28. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/packages/sinapsis_zonos/src/sinapsis_zonos/templates/zonos_tts.py +0 -0
  29. {sinapsis_speech-0.2.0 → sinapsis_speech-0.2.2}/setup.cfg +0 -0
@@ -0,0 +1,266 @@
1
+ Metadata-Version: 2.4
2
+ Name: sinapsis-speech
3
+ Version: 0.2.2
4
+ Summary: Generate speech using various libraries.
5
+ Author-email: SinapsisAI <dev@sinapsis-ai.com>
6
+ Project-URL: Homepage, https://sinapsis.tech
7
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs/sinapsis-speech
8
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
9
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis-speech.git
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: pip>=24.3.1
14
+ Requires-Dist: sinapsis>=0.2.2
15
+ Provides-Extra: all
16
+ Requires-Dist: sinapsis-elevenlabs[all]; extra == "all"
17
+ Requires-Dist: sinapsis-f5-tts[all]; extra == "all"
18
+ Requires-Dist: sinapsis-speech[gradio-app]; extra == "all"
19
+ Requires-Dist: sinapsis-zonos[all]; extra == "all"
20
+ Provides-Extra: gradio-app
21
+ Requires-Dist: sinapsis[webapp]>=0.2.3; extra == "gradio-app"
22
+ Dynamic: license-file
23
+
24
+ <h1 align="center">
25
+ <br>
26
+ <a href="https://sinapsis.tech/">
27
+ <img
28
+ src="https://github.com/Sinapsis-AI/brand-resources/blob/main/sinapsis_logo/4x/logo.png?raw=true"
29
+ alt="" width="300">
30
+ </a><br>
31
+ Sinapsis Speech
32
+ <br>
33
+ </h1>
34
+
35
+ <h4 align="center"> Templates for a wide range of voice generation tasks.</h4>
36
+
37
+ <p align="center">
38
+ <a href="#installation">🐍 Installation</a> •
39
+ <a href="#packages">📦 Packages</a> •
40
+ <a href="#webapp">🌐 Webapps</a> •
41
+ <a href="#documentation">📙 Documentation</a> •
42
+ <a href="#packages">🔍 License</a>
43
+ </p>
44
+
45
+
46
+ <h2 id="installation">🐍 Installation</h2>
47
+
48
+
49
+ > [!IMPORTANT]
50
+ > Sinapsis projects requires Python 3.10 or higher.
51
+ >
52
+
53
+ This repo includes packages for performing speech synthesis using different tools:
54
+
55
+ * <code>sinapsis-elevenlabs</code>
56
+ * <code>sinapsis-f5-tts</code>
57
+ * <code>sinapsis-zonos</code>
58
+
59
+ Install using your preferred package manager. We strongly recommend using <code>uv</code>. To install <code>uv</code>, refer to the [official documentation](https://docs.astral.sh/uv/getting-started/installation/#installation-methods).
60
+
61
+
62
+ Install with <code>uv</code>:
63
+ ```bash
64
+ uv pip install sinapsis-elevenlabs --extra-index-url https://pypi.sinapsis.tech
65
+ ```
66
+ Or with raw <code>pip</code>:
67
+ ```bash
68
+ pip install sinapsis-elevenlabs --extra-index-url https://pypi.sinapsis.tech
69
+ ```
70
+
71
+ **Replace `sinapsis-elevenlabs` with the name of the package you intend to install**.
72
+
73
+ > [!IMPORTANT]
74
+ > Templates in each package may require additional dependencies. For development, we recommend installing the package all optional dependencies:
75
+ >
76
+ With <code>uv</code>:
77
+
78
+ ```bash
79
+ uv pip install sinapsis-elevenlabs[all] --extra-index-url https://pypi.sinapsis.tech
80
+ ```
81
+ Or with raw <code>pip</code>:
82
+ ```bash
83
+ pip install sinapsis-elevenlabs[all] --extra-index-url https://pypi.sinapsis.tech
84
+ ```
85
+
86
+ **Be sure to substitute `sinapsis-elevenlabs` with the appropriate package name**.
87
+
88
+
89
+
90
+ > [!TIP]
91
+ > You can also install all the packages within this project:
92
+ >
93
+ ```bash
94
+ uv pip install sinapsis-speech[all] --extra-index-url https://pypi.sinapsis.tech
95
+ ```
96
+
97
+
98
+ <h2 id="packages">📦 Packages</h2>
99
+
100
+ This repository is organized into modular packages, each designed for integration with different text-to-speech tools. These packages provide ready-to-use templates for speech synthesis. Below is an overview of the available packages:
101
+
102
+ <details>
103
+ <summary id="elevenlabs"><strong><span style="font-size: 1.4em;"> Sinapsis ElevenLabs </span></strong></summary>
104
+
105
+ This package offers a suite of templates and utilities designed for effortless integrating, configuration, and execution of **text-to-speech (TTS)** and **voice generation** functionalities powered by [ElevenLabs](https://elevenlabs.io/).
106
+
107
+ - **ElevenLabsTTS**: Template for converting text into speech using ElevenLabs' voice models.
108
+
109
+ - **ElevenLabsVoiceGeneration**: Template for generating custom synthetic voices based on user-provided descriptions.
110
+
111
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_elevenlabs/README.md).
112
+
113
+ </details>
114
+
115
+
116
+ <details>
117
+ <summary id="f5tts"><strong><span style="font-size: 1.4em;"> Sinapsis F5-TTS</span></strong></summary>
118
+
119
+ This package provides a template for seamlessly integrating, configuring, and running **text-to-speech (TTS)** functionalities powered by [F5TTS](https://github.com/SWivid/F5-TTS).
120
+
121
+ - **F5TTSInference**: Converts text to speech using the F5TTS model with voice cloning capabilities.
122
+
123
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_f5_tts/README.md).
124
+
125
+ </details>
126
+
127
+ <details>
128
+ <summary id="zonos"><strong><span style="font-size: 1.4em;"> Sinapsis Zonos</span></strong></summary>
129
+
130
+ This package provides a single template for integrating, configuring, and running **text-to-speech (TTS)** and **voice cloning** functionalities powered by [Zonos](https://github.com/Zyphra/Zonos/tree/main).
131
+
132
+ - **ZonosTTS**: Template for converting text to speech or performing voice cloning based on the presence of an audio sample.​
133
+
134
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_zonos/README.md).
135
+
136
+ </details>
137
+
138
+ <h2 id="webapp">🌐 Webapps</h2>
139
+ The webapps included in this project showcase the modularity of the templates, in this case for speech generation tasks.
140
+
141
+ > [!IMPORTANT]
142
+ > To run the app you first need to clone this repository:
143
+
144
+ ```bash
145
+ git clone git@github.com:Sinapsis-ai/sinapsis-speech.git
146
+ cd sinapsis-speech
147
+ ```
148
+
149
+ > [!NOTE]
150
+ > If you'd like to enable external app sharing in Gradio, `export GRADIO_SHARE_APP=True`
151
+
152
+
153
+ > [!IMPORTANT]
154
+ > Elevenlabs requires an API key to run any inference. To get started, visit the [official website](https://elevenlabs.io) and create an account. If you already have an account, go to the [API keys page](https://elevenlabs.io/app/settings/api-keys) to generate a token.
155
+
156
+ > [!IMPORTANT]
157
+ > Set your env var using <code> export ELEVENLABS_API_KEY='your-api-key'</code>
158
+
159
+ > [!IMPORTANT]
160
+ > F5-TTS requires a reference audio file for voice cloning. Make sure you have a reference audio file in the artifacts directory.
161
+
162
+ > [!NOTE]
163
+ > Agent configuration can be changed through the `AGENT_CONFIG_PATH` env var. You can check the available configurations in each package configs folder.
164
+
165
+
166
+ <details>
167
+ <summary id="docker"><strong><span style="font-size: 1.4em;">🐳 Docker</span></strong></summary>
168
+
169
+ **IMPORTANT**: This Docker image depends on the `sinapsis-nvidia:base` image. For detailed instructions, please refer to the [Sinapsis README](https://github.com/Sinapsis-ai/sinapsis?tab=readme-ov-file#docker).
170
+
171
+ 1. **Build the sinapsis-speech image**:
172
+ ```bash
173
+ docker compose -f docker/compose.yaml build
174
+ ```
175
+
176
+ 2. **Start the app container**:
177
+ For ElevenLabs:
178
+ ```bash
179
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-elevenlabs
180
+ ```
181
+ For F5-TTS:
182
+ ```bash
183
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-f5_tts
184
+ ```
185
+ For Zonos:
186
+ ```bash
187
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-zonos
188
+ ```
189
+
190
+ 3. **Check the logs**
191
+ For ElevenLabs:
192
+ ```bash
193
+ docker logs -f sinapsis-elevenlabs
194
+ ```
195
+ For F5-TTS:
196
+ ```bash
197
+ docker logs -f sinapsis-f5tts
198
+ ```
199
+ For Zonos:
200
+ ```bash
201
+ docker logs -f sinapsis-zonos
202
+ ```
203
+ 4. **The logs will display the URL to access the webapp, e.g.,:**:
204
+ ```bash
205
+ Running on local URL: http://127.0.0.1:7860
206
+ ```
207
+ **NOTE**: The url may be different, check the output of logs.
208
+ 5. **To stop the app**:
209
+ ```bash
210
+ docker compose -f docker/compose_apps.yaml down
211
+ ```
212
+ </details>
213
+
214
+ <details>
215
+ <summary id="virtual-environment"><strong><span style="font-size: 1.4em;">💻 UV</span></strong></summary>
216
+
217
+ To run the webapp using the <code>uv</code> package manager, follow these steps:
218
+
219
+ 1. **Sync the virtual environment**:
220
+
221
+ ```bash
222
+ uv sync --frozen
223
+ ```
224
+ 2. **Install the wheel**:
225
+
226
+ ```bash
227
+ uv pip install sinapsis-speech[all] --extra-index-url https://pypi.sinapsis.tech
228
+ ```
229
+
230
+ 3. **Run the webapp**:
231
+ For ElevenLabs:
232
+ ```bash
233
+ uv run webapps/elevenlabs/elevenlabs_tts_app.py
234
+ ```
235
+ For F5-TTS:
236
+ ```bash
237
+ uv run webapps/f5-tts/f5_tts_app.py
238
+ ```
239
+ For Zonos:
240
+ ```bash
241
+ uv run webapps/zonos/zonos_tts_app.py
242
+ ```
243
+ 4. **The terminal will display the URL to access the webapp (e.g.)**:
244
+ ```bash
245
+ Running on local URL: http://127.0.0.1:7860
246
+ ```
247
+ **NOTE**: The URL may vary; check the terminal output for the correct address.
248
+
249
+ </details>
250
+
251
+
252
+
253
+ <h2 id="documentation">📙 Documentation</h2>
254
+
255
+ Documentation is available on the [sinapsis website](https://docs.sinapsis.tech/docs)
256
+
257
+ Tutorials for different projects within sinapsis are available at [sinapsis tutorials page](https://docs.sinapsis.tech/tutorials)
258
+
259
+ <h2 id="license">🔍 License</h2>
260
+
261
+ This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the [LICENSE](LICENSE) file.
262
+
263
+ For commercial use, please refer to our [official Sinapsis website](https://sinapsis.tech) for information on obtaining a commercial license.
264
+
265
+
266
+
@@ -0,0 +1,266 @@
1
+ Metadata-Version: 2.4
2
+ Name: sinapsis-speech
3
+ Version: 0.2.2
4
+ Summary: Generate speech using various libraries.
5
+ Author-email: SinapsisAI <dev@sinapsis-ai.com>
6
+ Project-URL: Homepage, https://sinapsis.tech
7
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs/sinapsis-speech
8
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
9
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis-speech.git
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: pip>=24.3.1
14
+ Requires-Dist: sinapsis>=0.2.2
15
+ Provides-Extra: all
16
+ Requires-Dist: sinapsis-elevenlabs[all]; extra == "all"
17
+ Requires-Dist: sinapsis-f5-tts[all]; extra == "all"
18
+ Requires-Dist: sinapsis-speech[gradio-app]; extra == "all"
19
+ Requires-Dist: sinapsis-zonos[all]; extra == "all"
20
+ Provides-Extra: gradio-app
21
+ Requires-Dist: sinapsis[webapp]>=0.2.3; extra == "gradio-app"
22
+ Dynamic: license-file
23
+
24
+ <h1 align="center">
25
+ <br>
26
+ <a href="https://sinapsis.tech/">
27
+ <img
28
+ src="https://github.com/Sinapsis-AI/brand-resources/blob/main/sinapsis_logo/4x/logo.png?raw=true"
29
+ alt="" width="300">
30
+ </a><br>
31
+ Sinapsis Speech
32
+ <br>
33
+ </h1>
34
+
35
+ <h4 align="center"> Templates for a wide range of voice generation tasks.</h4>
36
+
37
+ <p align="center">
38
+ <a href="#installation">🐍 Installation</a> •
39
+ <a href="#packages">📦 Packages</a> •
40
+ <a href="#webapp">🌐 Webapps</a> •
41
+ <a href="#documentation">📙 Documentation</a> •
42
+ <a href="#packages">🔍 License</a>
43
+ </p>
44
+
45
+
46
+ <h2 id="installation">🐍 Installation</h2>
47
+
48
+
49
+ > [!IMPORTANT]
50
+ > Sinapsis projects requires Python 3.10 or higher.
51
+ >
52
+
53
+ This repo includes packages for performing speech synthesis using different tools:
54
+
55
+ * <code>sinapsis-elevenlabs</code>
56
+ * <code>sinapsis-f5-tts</code>
57
+ * <code>sinapsis-zonos</code>
58
+
59
+ Install using your preferred package manager. We strongly recommend using <code>uv</code>. To install <code>uv</code>, refer to the [official documentation](https://docs.astral.sh/uv/getting-started/installation/#installation-methods).
60
+
61
+
62
+ Install with <code>uv</code>:
63
+ ```bash
64
+ uv pip install sinapsis-elevenlabs --extra-index-url https://pypi.sinapsis.tech
65
+ ```
66
+ Or with raw <code>pip</code>:
67
+ ```bash
68
+ pip install sinapsis-elevenlabs --extra-index-url https://pypi.sinapsis.tech
69
+ ```
70
+
71
+ **Replace `sinapsis-elevenlabs` with the name of the package you intend to install**.
72
+
73
+ > [!IMPORTANT]
74
+ > Templates in each package may require additional dependencies. For development, we recommend installing the package all optional dependencies:
75
+ >
76
+ With <code>uv</code>:
77
+
78
+ ```bash
79
+ uv pip install sinapsis-elevenlabs[all] --extra-index-url https://pypi.sinapsis.tech
80
+ ```
81
+ Or with raw <code>pip</code>:
82
+ ```bash
83
+ pip install sinapsis-elevenlabs[all] --extra-index-url https://pypi.sinapsis.tech
84
+ ```
85
+
86
+ **Be sure to substitute `sinapsis-elevenlabs` with the appropriate package name**.
87
+
88
+
89
+
90
+ > [!TIP]
91
+ > You can also install all the packages within this project:
92
+ >
93
+ ```bash
94
+ uv pip install sinapsis-speech[all] --extra-index-url https://pypi.sinapsis.tech
95
+ ```
96
+
97
+
98
+ <h2 id="packages">📦 Packages</h2>
99
+
100
+ This repository is organized into modular packages, each designed for integration with different text-to-speech tools. These packages provide ready-to-use templates for speech synthesis. Below is an overview of the available packages:
101
+
102
+ <details>
103
+ <summary id="elevenlabs"><strong><span style="font-size: 1.4em;"> Sinapsis ElevenLabs </span></strong></summary>
104
+
105
+ This package offers a suite of templates and utilities designed for effortless integrating, configuration, and execution of **text-to-speech (TTS)** and **voice generation** functionalities powered by [ElevenLabs](https://elevenlabs.io/).
106
+
107
+ - **ElevenLabsTTS**: Template for converting text into speech using ElevenLabs' voice models.
108
+
109
+ - **ElevenLabsVoiceGeneration**: Template for generating custom synthetic voices based on user-provided descriptions.
110
+
111
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_elevenlabs/README.md).
112
+
113
+ </details>
114
+
115
+
116
+ <details>
117
+ <summary id="f5tts"><strong><span style="font-size: 1.4em;"> Sinapsis F5-TTS</span></strong></summary>
118
+
119
+ This package provides a template for seamlessly integrating, configuring, and running **text-to-speech (TTS)** functionalities powered by [F5TTS](https://github.com/SWivid/F5-TTS).
120
+
121
+ - **F5TTSInference**: Converts text to speech using the F5TTS model with voice cloning capabilities.
122
+
123
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_f5_tts/README.md).
124
+
125
+ </details>
126
+
127
+ <details>
128
+ <summary id="zonos"><strong><span style="font-size: 1.4em;"> Sinapsis Zonos</span></strong></summary>
129
+
130
+ This package provides a single template for integrating, configuring, and running **text-to-speech (TTS)** and **voice cloning** functionalities powered by [Zonos](https://github.com/Zyphra/Zonos/tree/main).
131
+
132
+ - **ZonosTTS**: Template for converting text to speech or performing voice cloning based on the presence of an audio sample.​
133
+
134
+ For specific instructions and further details, see the [README.md](https://github.com/Sinapsis-AI/sinapsis-speech/blob/main/packages/sinapsis_zonos/README.md).
135
+
136
+ </details>
137
+
138
+ <h2 id="webapp">🌐 Webapps</h2>
139
+ The webapps included in this project showcase the modularity of the templates, in this case for speech generation tasks.
140
+
141
+ > [!IMPORTANT]
142
+ > To run the app you first need to clone this repository:
143
+
144
+ ```bash
145
+ git clone git@github.com:Sinapsis-ai/sinapsis-speech.git
146
+ cd sinapsis-speech
147
+ ```
148
+
149
+ > [!NOTE]
150
+ > If you'd like to enable external app sharing in Gradio, `export GRADIO_SHARE_APP=True`
151
+
152
+
153
+ > [!IMPORTANT]
154
+ > Elevenlabs requires an API key to run any inference. To get started, visit the [official website](https://elevenlabs.io) and create an account. If you already have an account, go to the [API keys page](https://elevenlabs.io/app/settings/api-keys) to generate a token.
155
+
156
+ > [!IMPORTANT]
157
+ > Set your env var using <code> export ELEVENLABS_API_KEY='your-api-key'</code>
158
+
159
+ > [!IMPORTANT]
160
+ > F5-TTS requires a reference audio file for voice cloning. Make sure you have a reference audio file in the artifacts directory.
161
+
162
+ > [!NOTE]
163
+ > Agent configuration can be changed through the `AGENT_CONFIG_PATH` env var. You can check the available configurations in each package configs folder.
164
+
165
+
166
+ <details>
167
+ <summary id="docker"><strong><span style="font-size: 1.4em;">🐳 Docker</span></strong></summary>
168
+
169
+ **IMPORTANT**: This Docker image depends on the `sinapsis-nvidia:base` image. For detailed instructions, please refer to the [Sinapsis README](https://github.com/Sinapsis-ai/sinapsis?tab=readme-ov-file#docker).
170
+
171
+ 1. **Build the sinapsis-speech image**:
172
+ ```bash
173
+ docker compose -f docker/compose.yaml build
174
+ ```
175
+
176
+ 2. **Start the app container**:
177
+ For ElevenLabs:
178
+ ```bash
179
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-elevenlabs
180
+ ```
181
+ For F5-TTS:
182
+ ```bash
183
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-f5_tts
184
+ ```
185
+ For Zonos:
186
+ ```bash
187
+ docker compose -f docker/compose_apps.yaml up -d sinapsis-zonos
188
+ ```
189
+
190
+ 3. **Check the logs**
191
+ For ElevenLabs:
192
+ ```bash
193
+ docker logs -f sinapsis-elevenlabs
194
+ ```
195
+ For F5-TTS:
196
+ ```bash
197
+ docker logs -f sinapsis-f5tts
198
+ ```
199
+ For Zonos:
200
+ ```bash
201
+ docker logs -f sinapsis-zonos
202
+ ```
203
+ 4. **The logs will display the URL to access the webapp, e.g.,:**:
204
+ ```bash
205
+ Running on local URL: http://127.0.0.1:7860
206
+ ```
207
+ **NOTE**: The url may be different, check the output of logs.
208
+ 5. **To stop the app**:
209
+ ```bash
210
+ docker compose -f docker/compose_apps.yaml down
211
+ ```
212
+ </details>
213
+
214
+ <details>
215
+ <summary id="virtual-environment"><strong><span style="font-size: 1.4em;">💻 UV</span></strong></summary>
216
+
217
+ To run the webapp using the <code>uv</code> package manager, follow these steps:
218
+
219
+ 1. **Sync the virtual environment**:
220
+
221
+ ```bash
222
+ uv sync --frozen
223
+ ```
224
+ 2. **Install the wheel**:
225
+
226
+ ```bash
227
+ uv pip install sinapsis-speech[all] --extra-index-url https://pypi.sinapsis.tech
228
+ ```
229
+
230
+ 3. **Run the webapp**:
231
+ For ElevenLabs:
232
+ ```bash
233
+ uv run webapps/elevenlabs/elevenlabs_tts_app.py
234
+ ```
235
+ For F5-TTS:
236
+ ```bash
237
+ uv run webapps/f5-tts/f5_tts_app.py
238
+ ```
239
+ For Zonos:
240
+ ```bash
241
+ uv run webapps/zonos/zonos_tts_app.py
242
+ ```
243
+ 4. **The terminal will display the URL to access the webapp (e.g.)**:
244
+ ```bash
245
+ Running on local URL: http://127.0.0.1:7860
246
+ ```
247
+ **NOTE**: The URL may vary; check the terminal output for the correct address.
248
+
249
+ </details>
250
+
251
+
252
+
253
+ <h2 id="documentation">📙 Documentation</h2>
254
+
255
+ Documentation is available on the [sinapsis website](https://docs.sinapsis.tech/docs)
256
+
257
+ Tutorials for different projects within sinapsis are available at [sinapsis tutorials page](https://docs.sinapsis.tech/tutorials)
258
+
259
+ <h2 id="license">🔍 License</h2>
260
+
261
+ This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the [LICENSE](LICENSE) file.
262
+
263
+ For commercial use, please refer to our [official Sinapsis website](https://sinapsis.tech) for information on obtaining a commercial license.
264
+
265
+
266
+
@@ -4,7 +4,7 @@ sinapsis>=0.2.2
4
4
  [all]
5
5
  sinapsis-elevenlabs[all]
6
6
  sinapsis-f5-tts[all]
7
- sinapsis-speech[webapp]
7
+ sinapsis-speech[gradio-app]
8
8
  sinapsis-zonos[all]
9
9
 
10
10
  [gradio-app]
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "sinapsis-speech"
3
- version = "0.2.0"
3
+ version = "0.2.2"
4
4
  description = "Generate speech using various libraries."
5
5
  authors = [
6
6
  {name = "SinapsisAI", email = "dev@sinapsis-ai.com"},
7
7
  ]
8
8
  readme = "README.md"
9
- license = {file = "LICENSE"}
10
9
  requires-python = ">=3.10"
10
+ license-files = ["LICENSE"]
11
11
  dependencies = [
12
12
  "pip>=24.3.1",
13
13
  "sinapsis>=0.2.2",
@@ -23,20 +23,21 @@ dev = [
23
23
  all = [
24
24
  "sinapsis-elevenlabs[all]",
25
25
  "sinapsis-f5-tts[all]",
26
- "sinapsis-speech[webapp]",
26
+ "sinapsis-speech[gradio-app]",
27
27
  "sinapsis-zonos[all]",
28
28
  ]
29
29
  gradio-app = [
30
30
  "sinapsis[webapp]>=0.2.3",
31
31
  ]
32
32
 
33
+
33
34
  [tool.uv.workspace]
34
35
  members = ["packages/*"]
35
36
  exclude = ["packages/*.egg-info"]
36
37
 
37
38
  [tool.setuptools]
38
39
  packages = { find = { where = ["packages"] } }
39
- license-files = []
40
+
40
41
 
41
42
  [tool.uv.sources]
42
43
  sinapsis-elevenlabs = { workspace = true }