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
The output_full argument of generate_audio seems to indicate that the returned dictionary of contexts ( including semantic_prompt) should be able to be used in future calls to generate_audio. However, it seems that methods that receive a history_prompt argument assume that the argument will always be a string referring to a file path where the returned value has been saved.
It seems that any method that receives a history_promptshould also check to see if the argument is an ndarray, as a common case for passing along context here would be breaking up an input text into multiple segments, in which case it would be desirable to include the prior context that was just generated to bias the next segment's output. ( Please note I don't have a very deep understanding of the use of history_prompt, so if I misunderstand its usage, I would love to be corrected )
The text was updated successfully, but these errors were encountered:
yea, you have to first save it as save_as_prompt and then pass the filepath of the npz to the generate function. admittedly probably not the best choice of api contracts 😆 will put on the list to simplify at some point
The
output_full
argument ofgenerate_audio
seems to indicate that the returned dictionary of contexts ( includingsemantic_prompt
) should be able to be used in future calls togenerate_audio
. However, it seems that methods that receive ahistory_prompt
argument assume that the argument will always be a string referring to a file path where the returned value has been saved.It seems that any method that receives a
history_prompt
should also check to see if the argument is anndarray
, as a common case for passing along context here would be breaking up an input text into multiple segments, in which case it would be desirable to include the prior context that was just generated to bias the next segment's output. ( Please note I don't have a very deep understanding of the use ofhistory_prompt
, so if I misunderstand its usage, I would love to be corrected )The text was updated successfully, but these errors were encountered: