Updated requirements (Gradio, Pillow)
This commit is contained in:
		
							parent
							
								
									296b1da278
								
							
						
					
					
						commit
						bb4c7db621
					
				@ -1 +1 @@
 | 
				
			|||||||
version = '2.1.705'
 | 
					version = '2.1.706'
 | 
				
			||||||
 | 
				
			|||||||
@ -4,13 +4,13 @@ transformers==4.30.2
 | 
				
			|||||||
safetensors==0.3.1
 | 
					safetensors==0.3.1
 | 
				
			||||||
accelerate==0.21.0
 | 
					accelerate==0.21.0
 | 
				
			||||||
pyyaml==6.0
 | 
					pyyaml==6.0
 | 
				
			||||||
Pillow==9.2.0
 | 
					Pillow==9.4.0
 | 
				
			||||||
scipy==1.9.3
 | 
					scipy==1.9.3
 | 
				
			||||||
tqdm==4.64.1
 | 
					tqdm==4.64.1
 | 
				
			||||||
psutil==5.9.5
 | 
					psutil==5.9.5
 | 
				
			||||||
numpy==1.23.5
 | 
					numpy==1.23.5
 | 
				
			||||||
pytorch_lightning==1.9.4
 | 
					pytorch_lightning==1.9.4
 | 
				
			||||||
omegaconf==2.2.3
 | 
					omegaconf==2.2.3
 | 
				
			||||||
gradio==3.39.0
 | 
					gradio==3.41.2
 | 
				
			||||||
pygit2==1.12.2
 | 
					pygit2==1.12.2
 | 
				
			||||||
opencv-contrib-python==4.8.0.74
 | 
					opencv-contrib-python==4.8.0.74
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,7 @@
 | 
				
			|||||||
 | 
					# 2.1.706
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Updated requirements (Gradio, Pillow).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2.1.703
 | 
					# 2.1.703
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Fixed many previous problems related to inpaint.
 | 
					* Fixed many previous problems related to inpaint.
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								webui.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								webui.py
									
									
									
									
									
								
							@ -57,16 +57,16 @@ shared.gradio_root = gr.Blocks(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
with shared.gradio_root:
 | 
					with shared.gradio_root:
 | 
				
			||||||
    with gr.Row():
 | 
					    with gr.Row():
 | 
				
			||||||
        with gr.Column():
 | 
					        with gr.Column(scale=2):
 | 
				
			||||||
            progress_window = grh.Image(label='Preview', show_label=True, height=640, visible=False)
 | 
					            progress_window = grh.Image(label='Preview', show_label=True, height=640, visible=False)
 | 
				
			||||||
            progress_html = gr.HTML(value=modules.html.make_progress_html(32, 'Progress 32%'), visible=False, elem_id='progress-bar', elem_classes='progress-bar')
 | 
					            progress_html = gr.HTML(value=modules.html.make_progress_html(32, 'Progress 32%'), visible=False, elem_id='progress-bar', elem_classes='progress-bar')
 | 
				
			||||||
            gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain', height=745, visible=True, elem_classes='resizable_area')
 | 
					            gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain', height=745, visible=True, elem_classes='resizable_area')
 | 
				
			||||||
            with gr.Row(elem_classes='type_row'):
 | 
					            with gr.Row(elem_classes='type_row'):
 | 
				
			||||||
                with gr.Column(scale=0.85):
 | 
					                with gr.Column(scale=17):
 | 
				
			||||||
                    prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.",
 | 
					                    prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.",
 | 
				
			||||||
                                        value=modules.path.default_positive_prompt,
 | 
					                                        value=modules.path.default_positive_prompt,
 | 
				
			||||||
                                        container=False, autofocus=True, elem_classes='type_row', lines=1024)
 | 
					                                        container=False, autofocus=True, elem_classes='type_row', lines=1024)
 | 
				
			||||||
                with gr.Column(scale=0.15, min_width=0):
 | 
					                with gr.Column(scale=3, min_width=0):
 | 
				
			||||||
                    generate_button = gr.Button(label="Generate", value="Generate", elem_classes='type_row', elem_id='generate_button', visible=True)
 | 
					                    generate_button = gr.Button(label="Generate", value="Generate", elem_classes='type_row', elem_id='generate_button', visible=True)
 | 
				
			||||||
                    skip_button = gr.Button(label="Skip", value="Skip", elem_classes='type_row_half', visible=False)
 | 
					                    skip_button = gr.Button(label="Skip", value="Skip", elem_classes='type_row_half', visible=False)
 | 
				
			||||||
                    stop_button = gr.Button(label="Stop", value="Stop", elem_classes='type_row_half', elem_id='stop_button', visible=False)
 | 
					                    stop_button = gr.Button(label="Stop", value="Stop", elem_classes='type_row_half', elem_id='stop_button', visible=False)
 | 
				
			||||||
@ -179,7 +179,7 @@ with shared.gradio_root:
 | 
				
			|||||||
            inpaint_tab.select(lambda: ['inpaint', default_image], outputs=[current_tab, inpaint_input_image], queue=False, _js=down_js)
 | 
					            inpaint_tab.select(lambda: ['inpaint', default_image], outputs=[current_tab, inpaint_input_image], queue=False, _js=down_js)
 | 
				
			||||||
            ip_tab.select(lambda: 'ip', outputs=[current_tab], queue=False, _js=down_js)
 | 
					            ip_tab.select(lambda: 'ip', outputs=[current_tab], queue=False, _js=down_js)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        with gr.Column(scale=0.5, visible=False) as right_col:
 | 
					        with gr.Column(scale=1, visible=False) as advanced_column:
 | 
				
			||||||
            with gr.Tab(label='Setting'):
 | 
					            with gr.Tab(label='Setting'):
 | 
				
			||||||
                performance_selection = gr.Radio(label='Performance', choices=['Speed', 'Quality'], value='Speed')
 | 
					                performance_selection = gr.Radio(label='Performance', choices=['Speed', 'Quality'], value='Speed')
 | 
				
			||||||
                aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=list(aspect_ratios.keys()),
 | 
					                aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=list(aspect_ratios.keys()),
 | 
				
			||||||
@ -328,7 +328,7 @@ with shared.gradio_root:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                model_refresh.click(model_refresh_clicked, [], [base_model, refiner_model] + lora_ctrls, queue=False)
 | 
					                model_refresh.click(model_refresh_clicked, [], [base_model, refiner_model] + lora_ctrls, queue=False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        advanced_checkbox.change(lambda x: gr.update(visible=x), advanced_checkbox, right_col, queue=False)
 | 
					        advanced_checkbox.change(lambda x: gr.update(visible=x), advanced_checkbox, advanced_column, queue=False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        ctrls = [
 | 
					        ctrls = [
 | 
				
			||||||
            prompt, negative_prompt, style_selections,
 | 
					            prompt, negative_prompt, style_selections,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user