Spaces:
Runtime error
Runtime error
Update app.py
Browse files16 unmodified lines171819202122232416 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.0keras_model = load_model(model_paths[model_name])16 unmodified lines17181920212223242516 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.0keras_model = load_model(model_paths[model_name])
app.py+2-1