Spaces:
Sleeping
Sleeping
Update my_model/state_manager.py
Browse files
my_model/state_manager.py
CHANGED
@@ -256,8 +256,8 @@ class StateManager:
|
|
256 |
"""
|
257 |
return st.session_state['images_data']
|
258 |
|
259 |
-
|
260 |
-
def resize_image(image_input, new_width, new_height):
|
261 |
"""
|
262 |
Resize an image given either a file path or a PIL Image object.
|
263 |
|
|
|
256 |
"""
|
257 |
return st.session_state['images_data']
|
258 |
|
259 |
+
|
260 |
+
def resize_image(self, image_input, new_width, new_height):
|
261 |
"""
|
262 |
Resize an image given either a file path or a PIL Image object.
|
263 |
|