Cvlib: (-215:Assertion failed) separator_index < line.size()

I am also getting this error:
cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'cv::dnn::darknet::ReadDarknetFromCfgStream

my code is:

import cv2
import cvlib as cv
from cvlib.object_detection import draw_bbox
from gtts import gTTS
from playsound import playsound

while True:
    bbox, label, conf=cv.detect_common_objects(frame)
    op=draw_bbox(frame, bbox, label, conf)
    cv2.imshow("Object Detection", op)
    if cv2.waitKey(0) & 0xFF == ord('q'):

Can anyone help me

Go talk to whoever maintains this “cvlib” thing. They screwed up. Or you screwed up when you downloaded the model files.

This is not an OpenCV problem.