Spaces:
Runtime error
Runtime error
Update app.py
Browse files23 unmodified lines2425262728293023 unmodified linesreturn processed_img# Resize the input image based on the selected model's expected input shapeinput_size = (224, 224) # Adjust according to the model's input sizeimg = cv2.resize(img, input_size)# Preprocess the input image23 unmodified lines2425262728293023 unmodified linesreturn processed_img# Resize the input image based on the selected model's expected input shapeinput_size = (150, 150) # Adjust according to the model's input sizeimg = cv2.resize(img, input_size)# Preprocess the input image
app.py+1-1