How to deploy an app if we are using dlib library,

Hello, I am trying to deploy an app in streamlit in this I have used dlib library
I have already replaced requirements.txt to conda.txt even then I am still facing an issue

Here is the link for the repo

What is the error message?
Btw, the correct opencv package name is opencv-python-headless

PackagesNotFoundError: The following packages are not available from current channels:

To search for alternate channels that may provide the conda package you're

looking for, navigate to

and use the search bar at the top of the page.

This is the error i am getting and opencv-python-headless is one of the versions of opencv

I cloned your repo, cleaned it and tried it in local docker container runtime and on streamlit sharing. Seems to work now.
The main trick was to change dlib package to dlib-bin package.
Find the repo here and compare to your repo:

1 Like

Thank you it is working now