Revert "Merge branch 'react' into main"

This reverts commit 41ea9814e8, reversing
changes made to 06c8a004d8.
This commit is contained in:
cmdr2
2022-10-07 20:01:15 +05:30
parent 41ea9814e8
commit 10bcfdd6b2
520 changed files with 4 additions and 17365 deletions

View File

@@ -380,13 +380,7 @@ def do_mk_img(req: Request):
if req.stream_progress_updates:
n_steps = opt_ddim_steps if req.init_image is None else t_enc
progress = {
"status": "progress",
#"progress": (i + 1) / n_steps,
"progress": {
"step": i, "total_steps": n_steps
}
}
progress = {"step": i, "total_steps": n_steps}
if req.stream_image_progress and i % 5 == 0:
partial_images = []