Issue1: TypeError: Argument 'bb' has incorrect type (expected numpy.ndarray, got list). Issue2: ValueError: list.remove(x): x not in list This is actually crashing the py page everytime