-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic prompt updates in screen example #167
Comments
There is function for updating prompt only without preparing the whole stream StreamDiffusion/src/streamdiffusion/pipeline.py Lines 255 to 262 in 765d710
|
hmm does not seem to work very well here if I replace my call to
this gives me a lot of visual artifacts too |
i mean, you need to prepare stream anyway, but after you can change prompt with function above. |
I do, I first have a call to prepare() unchanged from screen.py, and then I call stream.update_prompt("blah") whenever I get a new prompt |
I'm trying to make the prompt in the screen example evolve over time.
However, if I move
from before the main loop to within it, just before the call to
then my output becomes pretty much some random uniform color.
If I add a timer to call stream.prepare for instance once every second, then once every second I get some grey / blank frame in the middle of the stream. How can I make this more fluid and continuous ?
The text was updated successfully, but these errors were encountered: