Spaces:
Runtime error
Runtime error
Update app.py
Browse files19 unmodified lines202122232425262719 unmodified linestry:img = cv2.imread(image)img = cv2.resize(img, (150, 150))img = np.expand_dims(img, axis=0)img= = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)#img = img.astype(np.float32) / 255.0if model_choice == "ResNet":19 unmodified lines20212223242526272819 unmodified linestry: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 = img.astype(np.float32) / 255.0if model_choice == "ResNet":
app.py+2-1