Spaces:
Runtime error
Runtime error
Update app.py
Browse files19 unmodified lines2021222324242526272819 unmodified lines try: img = cv2.imread(image) img = cv2.resize(img, (150, 150)) img= cv2.cvtColor(img, cv2.COLOR_BGR2RGB) img = np.expand_dims(img, axis=0) img= = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) #img = img.astype(np.float32) / 255.0
if model_choice == "ResNet":app.py+2-1