This commit is contained in:
lllyasviel
2023-10-12 04:23:10 -07:00
committed by GitHub
parent 4c867c1b8b
commit e61aac34ca
147 changed files with 523 additions and 642 deletions
+2 -2
View File
@@ -63,13 +63,13 @@ with shared.gradio_root:
stop_button = gr.Button(label="Stop", value="Stop", elem_classes='type_row_half', visible=False)
def stop_clicked():
import comfy.model_management as model_management
import fcbh.model_management as model_management
shared.last_stop = 'stop'
model_management.interrupt_current_processing()
return [gr.update(interactive=False)] * 2
def skip_clicked():
import comfy.model_management as model_management
import fcbh.model_management as model_management
shared.last_stop = 'skip'
model_management.interrupt_current_processing()
return