prokofyev8 commited on
Commit
5eb08a1
·
verified ·
1 Parent(s): 277235f

commented update_dimensions_on_upload

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -205,7 +205,8 @@ def infer(
205
  original_image = input_image.convert("RGB")
206
 
207
  # Use the new function to update dimensions
208
- width, height = update_dimensions_on_upload(original_image)
 
209
 
210
  result = pipe(
211
  image=original_image,
 
205
  original_image = input_image.convert("RGB")
206
 
207
  # Use the new function to update dimensions
208
+ # width, height = update_dimensions_on_upload(original_image)
209
+ width, height = None, None
210
 
211
  result = pipe(
212
  image=original_image,