Spaces:
Runtime error
Runtime error
Update app.py
Browse files23 unmodified lines242526272728293023 unmodified lines return processed_img
# Resize the input image based on the selected model's expected input shape input_size = (224, 224) # Adjust according to the model's input size input_size = (150, 150) # Adjust according to the model's input size img = cv2.resize(img, input_size)
# Preprocess the input imageapp.py+1-1