Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canopyai/Orpheus-TTS
/ functions
Functions
43 in github.com/canopyai/Orpheus-TTS
⨍
Functions
43
◇
Types & classes
4
↳
Endpoints
1
↓ 3 callers
Function
load_watermarker
(device: str = "cuda")
additional_inference_options/watermark_audio/watermark.py:18
↓ 2 callers
Function
async_producer
()
orpheus_tts_pypi/orpheus_tts/decoder.py:123
↓ 2 callers
Method
generate_speech
(self, **kwargs)
orpheus_tts_pypi/orpheus_tts/engine_class.py:131
↓ 2 callers
Function
run_session
Wrap a single prompt run in its own error‐safe block.
additional_inference_options/baseten_inference_example/call_orpheus.py:72
↓ 2 callers
Function
verify
( watermarker: silentcipher.server.Model, watermarked_audio: torch.Tensor, sample_rate: int, w
additional_inference_options/watermark_audio/watermark.py:40
↓ 1 callers
Method
__init__
(self, *args, log_ratio=config_ratio, **kwargs)
pretrain/train.py:88
↓ 1 callers
Method
_format_prompt
(self, prompt, voice="tara", model_type="larger")
orpheus_tts_pypi/orpheus_tts/engine_class.py:72
↓ 1 callers
Method
_load_tokenizer
Load tokenizer from local path or HuggingFace hub
orpheus_tts_pypi/orpheus_tts/engine_class.py:22
↓ 1 callers
Method
_map_model_params
(self, model_name)
orpheus_tts_pypi/orpheus_tts/engine_class.py:35
↓ 1 callers
Method
_setup_engine
(self)
orpheus_tts_pypi/orpheus_tts/engine_class.py:58
↓ 1 callers
Function
async_token_gen
()
orpheus_tts_pypi/orpheus_tts/decoder.py:119
↓ 1 callers
Function
check_audio_from_file
(audio_path: str)
additional_inference_options/watermark_audio/watermark.py:57
↓ 1 callers
Function
cli_check_audio
()
additional_inference_options/watermark_audio/watermark.py:10
↓ 1 callers
Function
convert_to_audio
(multiframe, count)
orpheus_tts_pypi/orpheus_tts/decoder.py:16
↓ 1 callers
Function
create_wav_header
(sample_rate=24000, bits_per_sample=16, channels=1)
realtime_streaming_example/main.py:8
↓ 1 callers
Function
generate_audio_stream
()
realtime_streaming_example/main.py:36
↓ 1 callers
Method
generate_tokens_sync
(self, prompt, voice=None, request_id="req-001", temperature=0.6, top_p=0.8, max_tokens=1200, stop_token_ids =
orpheus_tts_pypi/orpheus_tts/engine_class.py:98
↓ 1 callers
Function
load_audio
(audio_path: str)
additional_inference_options/watermark_audio/watermark.py:67
↓ 1 callers
Function
main
()
additional_inference_options/watermark_audio/watermark_sample.py:8
↓ 1 callers
Function
main
()
additional_inference_options/baseten_inference_example/call_orpheus.py:121
↓ 1 callers
Function
run_with_offset
(offset: int)
additional_inference_options/baseten_inference_example/call_orpheus.py:95
↓ 1 callers
Method
save_and_push_model
(self, output_dir)
pretrain/train.py:133
↓ 1 callers
Function
stream_to_buffer
Send one streaming request, accumulate into bytes, and log timings.
additional_inference_options/baseten_inference_example/call_orpheus.py:32
↓ 1 callers
Function
tokens_decoder
(token_gen)
orpheus_tts_pypi/orpheus_tts/decoder.py:94
↓ 1 callers
Function
tokens_decoder_sync
(syn_token_gen)
orpheus_tts_pypi/orpheus_tts/decoder.py:114
↓ 1 callers
Function
turn_token_into_id
(token_string, index)
orpheus_tts_pypi/orpheus_tts/decoder.py:69
↓ 1 callers
Function
watermark
( watermarker: silentcipher.server.Model, audio_array: torch.Tensor, sample_rate: int, waterma
additional_inference_options/watermark_audio/watermark.py:26
Method
__getitem__
(self, index)
pretrain/train.py:57
Method
__init__
(self, model_name, dtype=torch.bfloat16, tokenizer='canopylabs/orpheus-3b-0.1-pretrained', **engine_kwargs)
orpheus_tts_pypi/orpheus_tts/engine_class.py:11
Method
__init__
(self, dataset1, dataset2, batch_total, ratio=config_ratio)
pretrain/train.py:41
Method
__init__
(self, dataset, num_replicas=None, rank=None, shuffle=False)
pretrain/train.py:77
Method
__iter__
(self)
pretrain/train.py:81
Method
__len__
(self)
pretrain/train.py:53
Method
async_producer
()
orpheus_tts_pypi/orpheus_tts/engine_class.py:111
Function
data_collator
(features)
pretrain/train.py:140
Method
get_train_dataloader
(self)
pretrain/train.py:97
Method
log
(self, logs, start_time=None)
pretrain/train.py:115
Function
run_async
()
orpheus_tts_pypi/orpheus_tts/decoder.py:129
Method
run_async
()
orpheus_tts_pypi/orpheus_tts/engine_class.py:117
Function
run_with_offset_sync
(offset: int)
additional_inference_options/baseten_inference_example/call_orpheus.py:113
Method
save_model
(self, output_dir=None, _internal_call=False)
pretrain/train.py:128
Function
tts
()
realtime_streaming_example/main.py:33
Method
validate_voice
(self, voice)
orpheus_tts_pypi/orpheus_tts/engine_class.py:67