You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gptme/tools/tts.py
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,27 @@
3
3
4
4
Uses Kokoro for local TTS generation.
5
5
6
-
Note:
7
-
To use this tool, you also need run the Kokoro TTS server: ``./scripts/tts_server.py``
6
+
.. rubric:: Usage
8
7
9
-
Environment Variables:
10
-
GPTME_TTS_VOICE: Set the voice to use for TTS. Available voices depend on the TTS server.
11
-
GPTME_VOICE_FINISH: If set to "true" or "1", waits for speech to finish before exiting. This is useful when you want to ensure the full message is spoken.
8
+
.. code-block:: bash
9
+
10
+
# Install gptme with TTS extras
11
+
pipx install gptme[tts]
12
+
13
+
# Clone gptme repository
14
+
git clone https://github.com/gptme/gptme.git
15
+
cd gptme
16
+
17
+
# Run the Kokoro TTS server (needs uv installed)
18
+
./scripts/tts_server.py
19
+
20
+
# Start gptme (should detect the running TTS server)
21
+
gptme 'hello, testing tts'
22
+
23
+
.. rubric:: Environment Variables
24
+
25
+
- ``GPTME_TTS_VOICE``: Set the voice to use for TTS. Available voices depend on the TTS server.
26
+
- ``GPTME_VOICE_FINISH``: If set to "true" or "1", waits for speech to finish before exiting. This is useful when you want to ensure the full message is spoken.
0 commit comments