Skip to content

[Feature Request]: Live previews #117

Open
@ustas-eth

Description

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

It would be nice to get the live previews to work. I tried to check the script and enable them myself, but I'm afraid I have a skill issue. Not sure whether it's even possible with OpenVino.

I tried to do several tweaks and find where the previews are coming from, e.g., added several lines to the callback function in order to mimic the original one, but it doesn't seem to work:

            def callback(iter, t, latents):
                time_stamps.append(time.time()) # noqa: B023
                print(iter)
                print(t)
                shared.state.sampling_step = iter
                shared.total_tqdm.update()

The calls to /progress in the web still return nothing:

{"active":true,"queued":false,"completed":false,"progress":0.0,"eta":null,"live_preview":null,"id_live_preview":-1,"textinfo":null}

Proposed workflow

  1. Try to generate a pic
  2. See previews

Additional information

I really like to see the previews

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions