Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -117,17 +117,19 @@ def generate( | |
| 117 |  | 
| 118 | 
             
            with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
         | 
| 119 | 
             
                gr.Markdown(DESCRIPTIONx)
         | 
| 120 | 
            -
                with gr. | 
| 121 | 
            -
                    with gr. | 
| 122 | 
            -
                         | 
| 123 | 
            -
                             | 
| 124 | 
            -
             | 
| 125 | 
            -
             | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 129 | 
            -
             | 
| 130 | 
            -
             | 
|  | |
|  | |
| 131 | 
             
                with gr.Accordion("Advanced options", open=False, visible=True):
         | 
| 132 | 
             
                    num_images = gr.Slider(
         | 
| 133 | 
             
                        label="Number of Images",
         | 
|  | |
| 117 |  | 
| 118 | 
             
            with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
         | 
| 119 | 
             
                gr.Markdown(DESCRIPTIONx)
         | 
| 120 | 
            +
                with gr.Row():
         | 
| 121 | 
            +
                    with gr.Column(scale=1):
         | 
| 122 | 
            +
                        with gr.Row():
         | 
| 123 | 
            +
                            prompt = gr.Text(
         | 
| 124 | 
            +
                                show_label=False,
         | 
| 125 | 
            +
                                max_lines=1,
         | 
| 126 | 
            +
                                placeholder="Enter your prompt",
         | 
| 127 | 
            +
                                container=False,
         | 
| 128 | 
            +
                            )
         | 
| 129 | 
            +
                            run_button = gr.Button("Run", scale=0, variant="primary")
         | 
| 130 | 
            +
             | 
| 131 | 
            +
                        result = gr.Image(show_label=False, format="png")
         | 
| 132 | 
            +
                        
         | 
| 133 | 
             
                with gr.Accordion("Advanced options", open=False, visible=True):
         | 
| 134 | 
             
                    num_images = gr.Slider(
         | 
| 135 | 
             
                        label="Number of Images",
         | 
