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
Hi @callanwu. Thanks for reporting, and sorry for any convenience. I found some bugs in the stream method that I fixed in #214. Those are now available in 0.21.1. Please let me know if you have any more issues with this.
When i use the provided steam output's example code(https://github.com/replicate/replicate-python#run-a-model-and-stream-its-output), it output nothing but output blank lines.
Is this related to the type of
event
?May be the code should be
But when I use the above code, it always output a
{}
at the end.Could you provide a correct code example?
The text was updated successfully, but these errors were encountered: