Error: OpenCV(4.4.0)

hello,

iam trying to deploy my streamlit app (teeth cavity detection using yolov3) on share.streamlit,i managed to run it local on my pc using anacoda cmd
after upload it to github and start to deploy on share streamlit i got this error

error: OpenCV(4.4.0) /tmp/pip-req-build-dglzv4yn/opencv/modules/dnn/src/darknet/darknet_io.cpp:908: error: (-213:The function/feature is not implemented) Transpose the weights (except for convolutional) is not implemented in function 'ReadDarknetFromWeightsStream'

and this is my github repo

thanks and please help

Hi @dentalai, welcome to the Streamlit community!

In requirements.txt, if you switch from opencv-python to opencv-python-headless, I suspect that will fix your issue.

Best,
Randy