Spaces:
Paused
Paused
print("Debug mode")
Browse files366 unmodified lines36736836937037137218 unmodified lines3913923933943953963971 unmodified line399400401402403404405366 unmodified linesglobal stream, input_image_debug_value, prompt_debug_value, total_second_length_debug_valueif input_image_debug_value is not None or prompt_debug_value is not None or total_second_length_debug_value is not None:input_image = input_image_debug_valueprompt = prompt_debug_valuetotal_second_length = total_second_length_debug_value18 unmodified linesif flag == 'file':output_filename = dataprint("File: " + output_filename)yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)if flag == 'progress':1 unmodified lineyield gr.update(), gr.update(visible=True, value=preview), desc, html, gr.update(interactive=False), gr.update(interactive=True)if flag == 'end':print("End: " + output_filename)yield output_filename, gr.update(visible=False), gr.update(), '', gr.update(interactive=True), gr.update(interactive=False)break366 unmodified lines36736836937037137237318 unmodified lines3923933943953963971 unmodified line399400401402403404366 unmodified linesglobal stream, input_image_debug_value, prompt_debug_value, total_second_length_debug_valueif input_image_debug_value is not None or prompt_debug_value is not None or total_second_length_debug_value is not None:print("Debug mode")input_image = input_image_debug_valueprompt = prompt_debug_valuetotal_second_length = total_second_length_debug_value18 unmodified linesif flag == 'file':output_filename = datayield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)if flag == 'progress':1 unmodified lineyield gr.update(), gr.update(visible=True, value=preview), desc, html, gr.update(interactive=False), gr.update(interactive=True)if flag == 'end':yield output_filename, gr.update(visible=False), gr.update(), '', gr.update(interactive=True), gr.update(interactive=False)break
app.py+1-2