Commit graph

41 commits

Author SHA1 Message Date
malibrated
4ead99754a Minor improvements to account for large-VRAM Apple Silicon machines, and refine the inferencing code to ignore spurious, non-audio responses from the Orpheus model, use the system prompt if it exists in the directory structure, and for long texts, 1) use nltk for segmenting the text according to user-specified max character lengths, and 2) use the previous segment (For segment index n>1) as context in the system prompt, to hopefully improve audio generation consistency. 2025-04-21 22:30:33 -07:00
Alexander J.
70a5e06aef
Contribution accreditation 2025-04-19 02:44:01 +10:00
Alex Yong
f8f0652193
add CPU support for docker compose files (#38)
* Create Dockerfile.cpu

* Update README.md

* Create docker-compose-cpu.yaml

* Rename docker-compose.yml to docker-compose-gpu.yml

Contribution by https://github.com/alexjyong
2025-04-19 02:41:00 +10:00
Lex-au
a9199a5316 WebUI update 2025-04-18 11:47:28 +10:00
Lex-au
4b93e928c3 Merge branch 'main' of https://github.com/Lex-au/Orpheus-FastAPI 2025-04-18 11:42:51 +10:00
Lex-au
5ead1e4b89 Orpheus-FASTAPI v1.3.0: Multilingual TTS with 24 Voices Across 8 Languages
This major update brings comprehensive multilingual support to Orpheus-FASTAPI:

• Added 16 new voice actors across 7 languages (French, German, Korean, Hindi, Mandarin, Spanish, Italian)
• Released 6 language-specific optimized models for superior pronunciation and fluency
• Enhanced UI with dynamic language selector and voice filtering
• Updated Docker Compose workflow to simplify language-specific model deployment
• Reorganized code architecture with language-aware voice mappings

All voices support the same emotion tags and audio quality features as the original English voices, maintaining compatibility with existing applications while expanding international usability.
2025-04-18 11:42:49 +10:00
Lex-au
ba0327f0b5 Update index.html 2025-04-18 10:10:21 +10:00
Lex-au
179505940e Create TaraLongGeneration.mp3 2025-04-18 10:09:18 +10:00
Alexander J.
f49e6b6a37
Release v1.2.0 – Added Docker Compose support and credited contributor
- Added optional Docker Compose setup integrating Orpheus-FastAPI and a GPU-enabled llama.cpp inference server.
- Includes automatic model download via model-init service.
- Native install path remains unchanged to ensure compatibility for non-Docker users.
- Updated README to include contribution credit for @richardr1126 (https://github.com/richardr1126).
- Squash-merged PR #21 with clean commit history.

Thank you to @richardr1126 for the Docker orchestration work and for helping expand accessibility for container-based deployments!
2025-04-12 13:54:45 +10:00
Richard Roberson
a58d6edd79
Add voices endpoint (for support with OpenReader-WebUI) (#22) 2025-04-12 13:50:08 +10:00
Richard Roberson
21ec3c620e
Add docker compose and llama-cpp-server (#21)
* Add GPU Dockerfile and all-in-one llama-cpp docker compose w/ model downloader (fixed)

* Sets `.env` file in docker compose + uses env values for llama-cpp-server
2025-04-12 13:49:41 +10:00
Lex-au
0be7a9d0d7
Update README.md 2025-03-25 16:56:36 +11:00
Lex-au
392d08418a
Update README.md 2025-03-25 16:54:45 +11:00
Lex-au
92ccffab93 New quants + Environment update
README.md:
- Added new quants (Q2_K, Q4_K_M)

TTS_ENGINE:
- Updated the External Inference Server section:
- Made the model parameter configurable via ORPHEUS_MODEL_NAME environment variable

Environment:
- Updated .env.example to include this new parameter
2025-03-24 21:32:21 +11:00
Lex-au
a95e814fc7 tts_engine push
Updated tts_engine/speechpipe.py:

- Enhanced the turn_token_into_id function with better documentation
- Added proper type hints and parameter descriptions
- Made the token prefix constant explicitly defined (CUSTOM_TOKEN_PREFIX)
- Increased the cache size from 1000 to 10000 entries for better performance

Updated tts_engine/inference.py:

- Imported the token handling from speechpipe.py
- Removed the duplicate implementation of turn_token_into_id
- Added a comment explaining the function is now imported

| Metric | Original Model | Q8 Model | Improvement |
|--------|---------------|----------|-------------|
| Token generation | ~280 tokens/sec | ~390 tokens/sec | ~40% faster |
| Realtime factor | 1.4-1.7x | 2.1-2.3x | ~50% faster |
| Audio generation | ~19-20 chunks/sec | ~26 chunks/sec | ~35% faster |
| Overall latency | Lower | Much lower | Substantial
2025-03-24 19:53:53 +11:00
Lex-au
39df1393f5 Documentation update
Adding flag for incompatibility out of the box with Python 3.12
2025-03-23 20:34:04 +11:00
Lex-au
088363eca5
Merge pull request #13 from S-Bryce/patch-2
Add Support for Koboldcpp
2025-03-23 18:27:49 +11:00
Lex-au
1e6face577
Merge pull request #12 from S-Bryce/patch-1
Fix broken version stapling syntax on watchfiles requirement
2025-03-23 18:02:21 +11:00
Lex-au
8b7ef73893 Update to pages file system 2025-03-23 18:00:19 +11:00
Bryce Shurts
f13fcef351
Add support for chunked streaming responses
Allows the inference engine to correctly yield a single token, even when the streaming response from the backend contains multiple tokens concatenated together.
2025-03-23 01:14:29 -05:00
Bryce Shurts
cdd2827dca
Fix broken version stapling syntax on watchfiles
Adjusts the watchfiles stapling to use == instead of =
2025-03-22 20:31:15 -05:00
Lex-au
db0ac922f0 Merge branch 'main' of https://github.com/Lex-au/Orpheus-FastAPI 2025-03-23 08:44:57 +11:00
Lex-au
0679391783 push 2025-03-23 08:44:15 +11:00
Lex-au
ac6e3a58c5
Update System_Prompt.md 2025-03-23 08:32:19 +11:00
Lex-au
1ec524715c
user requested 2025-03-23 08:31:07 +11:00
Lex-au
95bbe4d190
user requested 2025-03-23 08:26:31 +11:00
Lex-au
817ada8198
Update System_Prompt.md 2025-03-23 08:21:53 +11:00
Lex-au
c682179a17 user request 2025-03-23 08:19:42 +11:00
Lex-au
bcd7403cd0 v1.1.0
lgtm
2025-03-23 07:48:07 +11:00
Lex-au
b56472cf8a Full repo push 2025-03-22 05:39:45 +11:00
Lex-au
10af4db31f Push 2025-03-22 05:25:44 +11:00
Lex-au
ca561c3681 Last demo 2025-03-22 05:16:37 +11:00
Lex-au
8504ee33a2 Create WebUI.png 2025-03-22 05:15:10 +11:00
Lex-au
69afbca339 Update index.html 2025-03-22 05:08:16 +11:00
Lex-au
994514f029 Create index.html 2025-03-22 05:07:43 +11:00
Lex-au
e3248365a8 push examples 2025-03-22 05:03:51 +11:00
Lex-au
0b37aa0d0d a 2025-03-22 04:56:52 +11:00
Lex-au
fd547f0596 examples 2025-03-22 04:51:40 +11:00
Lex-au
ba0e8cd3fc examples 2025-03-22 04:48:03 +11:00
Lex-au
d1869cc13b Push repo 2025-03-22 03:48:38 +11:00
Lex-au
89c0969bd0 Initial commit 2025-03-22 02:21:40 +11:00