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