Compiled slug size is too large (max is 500M) due to "sentence-transformers" in Heroku

167 views Asked by At

I am receiving this error while deploying my application on Heroku: error image

It is because I have added "sentence-transformers" to my applications requirements.txt file and If I don't install "sentence-transformers" the application is deployed successfully but it is not functional.

Is there any way I can use "sentence-transformers" semantic_search feature without hitting the slug size error?

Thank you!

I tried deploying an application with "sentence-transformers" on Heroku.

0

There are 0 answers