Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update webui.py
Browse files
    	
        webui.py
    CHANGED
    
    | @@ -646,8 +646,8 @@ with shared.gradio_root: | |
| 646 | 
             
                    generate_button.click(lambda: (gr.update(visible=True, interactive=True), gr.update(visible=True, interactive=True), gr.update(visible=False, interactive=False), [], True),
         | 
| 647 | 
             
                                          outputs=[stop_button, skip_button, generate_button, gallery, state_is_generating]) \
         | 
| 648 | 
             
                        .then(fn=refresh_seed, inputs=[seed_random, image_seed], outputs=image_seed) \
         | 
| 649 | 
            -
                        .then(fn=get_task, inputs=ctrls, outputs= | 
| 650 | 
            -
                        .then(fn=generate_clicked, inputs= | 
| 651 | 
             
                        .then(lambda: (gr.update(visible=True, interactive=True), gr.update(visible=False, interactive=False), gr.update(visible=False, interactive=False), False),
         | 
| 652 | 
             
                              outputs=[generate_button, stop_button, skip_button, state_is_generating]) \
         | 
| 653 | 
             
                        .then(fn=update_history_link, outputs=history_link) \
         | 
|  | |
| 646 | 
             
                    generate_button.click(lambda: (gr.update(visible=True, interactive=True), gr.update(visible=True, interactive=True), gr.update(visible=False, interactive=False), [], True),
         | 
| 647 | 
             
                                          outputs=[stop_button, skip_button, generate_button, gallery, state_is_generating]) \
         | 
| 648 | 
             
                        .then(fn=refresh_seed, inputs=[seed_random, image_seed], outputs=image_seed) \
         | 
| 649 | 
            +
                        .then(fn=get_task, inputs=ctrls, outputs=None) \
         | 
| 650 | 
            +
                        .then(fn=generate_clicked, inputs=None, outputs=[progress_html, progress_window, progress_gallery, gallery]) \
         | 
| 651 | 
             
                        .then(lambda: (gr.update(visible=True, interactive=True), gr.update(visible=False, interactive=False), gr.update(visible=False, interactive=False), False),
         | 
| 652 | 
             
                              outputs=[generate_button, stop_button, skip_button, state_is_generating]) \
         | 
| 653 | 
             
                        .then(fn=update_history_link, outputs=history_link) \
         | 
