Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update my_model/state_manager.py
Browse files
    	
        my_model/state_manager.py
    CHANGED
    
    | 
         @@ -149,7 +149,7 @@ class StateManager: 
     | 
|
| 149 | 
         
             
                def resize_image(image_path, new_width, new_height):
         
     | 
| 150 | 
         
             
                    """Resize an image to the specified width and height."""
         
     | 
| 151 | 
         
             
                    image = Image.open(image_path)
         
     | 
| 152 | 
         
            -
                    resized_image = image.resize((new_width, new_height) 
     | 
| 153 | 
         
             
                    return resized_image
         
     | 
| 154 | 
         | 
| 155 | 
         | 
| 
         | 
|
| 149 | 
         
             
                def resize_image(image_path, new_width, new_height):
         
     | 
| 150 | 
         
             
                    """Resize an image to the specified width and height."""
         
     | 
| 151 | 
         
             
                    image = Image.open(image_path)
         
     | 
| 152 | 
         
            +
                    resized_image = image.resize((new_width, new_height))
         
     | 
| 153 | 
         
             
                    return resized_image
         
     | 
| 154 | 
         | 
| 155 | 
         |