Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -24,15 +24,14 @@ if torch.cuda.is_available(): | |
| 24 | 
             
                pipe = pipe.to("cuda")
         | 
| 25 |  | 
| 26 |  | 
| 27 | 
            -
            def pix2pix(
         | 
| 28 | 
            -
                prompt,
         | 
| 29 | 
             
                image,
         | 
| 30 | 
             
                steps,
         | 
| 31 | 
             
                image_guidance_scale,
         | 
| 32 | 
             
                width=512,
         | 
| 33 | 
             
                height=512,
         | 
| 34 | 
             
                seed
         | 
| 35 | 
            -
            ):
         | 
| 36 | 
             
                print(psutil.virtual_memory())  # print memory usage
         | 
| 37 |  | 
| 38 | 
             
                if seed == 0:
         | 
|  | |
| 24 | 
             
                pipe = pipe.to("cuda")
         | 
| 25 |  | 
| 26 |  | 
| 27 | 
            +
            def pix2pix(prompt,
         | 
|  | |
| 28 | 
             
                image,
         | 
| 29 | 
             
                steps,
         | 
| 30 | 
             
                image_guidance_scale,
         | 
| 31 | 
             
                width=512,
         | 
| 32 | 
             
                height=512,
         | 
| 33 | 
             
                seed
         | 
| 34 | 
            +
                ):
         | 
| 35 | 
             
                print(psutil.virtual_memory())  # print memory usage
         | 
| 36 |  | 
| 37 | 
             
                if seed == 0:
         | 
 
			
