from imageai.Detection import ObjectDetection
detector = ObjectDetection()
detector.setModelTypeAsTinyYOLOv3()
detector.setModelPath("BrainTumor10EpochsCategorical.h5")
detector.loadModel()
detection = detector.detectObjectsFromImage(input_image="pred7.jpg", output_image_path="./output/cars.jpg)
Currently, using this code, but anaconda spyder gives me that error. Is the source of the problem that i am using Python 3.9.