Skip to content

Commit

Permalink
Fixed hangup in Upscale (Fast 2x)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonRide303 committed Sep 27, 2023
1 parent fa2b401 commit 4c2de2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/async_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ def callback(step, x0, x, total_steps, y):
print('User stopped')
break

outputs.append(['results', results])
outputs.append(['metadatas', metadata_strings])
outputs.append(['results', results])

pipeline.clear_all_caches() # cleanup after generation

Expand Down
1 change: 1 addition & 0 deletions update_log_mre.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 2.0.78.4 MRE

* Fixed hangup in Upscale (Fast 2x).
* Fixed problems with turning off FreeU in some scenarios.

### 2.0.78.3 MRE
Expand Down
4 changes: 2 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ def generate_clicked(*args):
gr.update(), \
gr.update(), \
gr.update()
if flag == 'metadatas':
yield gr.update(), gr.update(), gr.update(), gr.update(), gr.update(value=product), gr.update(selected=GALLERY_ID_OUTPUT)
if flag == 'results':
yield gr.update(visible=False), \
gr.update(visible=False), \
gr.update(visible=True), \
gr.update(value=product), \
gr.update(), \
gr.update()
if flag == 'metadatas':
yield gr.update(), gr.update(), gr.update(), gr.update(), gr.update(value=product), gr.update(selected=GALLERY_ID_OUTPUT)
finished = True

execution_time = time.perf_counter() - execution_start_time
Expand Down

0 comments on commit 4c2de2e

Please sign in to comment.