Spaces:
Runtime error
Runtime error
Update app.py
Browse files15 unmodified lines1617181920212215 unmodified linesdef classify_selected_model(image, model_name):try:img = cv2.imread(image)img = cv2.resize(img, (224, 224))img = np.expand_dims(img, axis=0)img = img.astype(np.float32) / 255.015 unmodified lines1617181920212215 unmodified linesdef classify_selected_model(image, model_name):try:img = cv2.imread(image)img = cv2.resize(img, (150, 150))img = np.expand_dims(img, axis=0)img = img.astype(np.float32) / 255.0
app.py+1-1