mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-19 10:41:56 +02:00
Revert "Merge branch 'react' into main"
This reverts commit41ea9814e8
, reversing changes made to06c8a004d8
.
This commit is contained in:
@@ -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 = []
|
||||
|
Reference in New Issue
Block a user