Files
auroramusic/packages/inference/__pycache__/base.cpython-312.pyc
T

12 lines
1.6 KiB
Plaintext
Raw Normal View History

2026-08-29 21:21:51 -05:00
Ë
?2wjíãó~—ddlmZmZddlmZddlmZeGd„d««ZeGd„d««ZGd„d e«Z y
) é)ÚABCÚabstractmethod)Ú dataclass)ÚPathcó<—eZdZUeed<eed<edzed<eed<y)ÚGenerationRequestÚpromptÚmodeNÚlyricsÚduration_seconds)Ú__name__Ú
__module__Ú __qualname__ÚstrÚ__annotations__Úint©óú=/Users/r3ap3r/Projects/AuroraMusic/packages/inference/base.pyrrs…à ƒKØ
ƒIØ �$‰JÓØÔrrcó,—eZdZUeed<eed<eed<y)ÚGenerationResultÚ
audio_pathr Ú sample_rateN)r
rrrrÚfloatrrrrrrs…àÓØÓØÔrrcó.—eZdZdZedededefd„«Zy)ÚMusicGenerationProvideruåPluggable backend for turning a prompt (+ optional lyrics) into a song.
Swap implementations (mock, local model, remote GPU endpoint) without
touching the worker or API — the worker only depends on this interface.
ÚrequestÚ