Open polavishnu4444 opened 2 years ago
Thanks for reporting this! I poked around and I suspect what's going on is a bug in the azure functions python runtime, which is being fixed presently: https://github.com/Azure/azure-functions-python-worker/issues/1094
that said: I'm pretty sure dotenv isn't a critical dependency, so we may address it on our side as well.
@polavishnu4444 #66 may solve this, but I don't have an Azure setup to test - could you check out cnri.dotenv-optional
(or you can pip install git+https://github.com/Stability-AI/stability-sdk.git@cnri.dotenv-optional
) and see if it works in your setup?
Stability SDK is relying on python-dotenv package which is having or causing issue with its implementation as mentioned in the dotenv github issues here.
It would be helpful to overcome and fix this for the SDK.
Main issue: