I got the issue resolved by using the nest_async
pip install nest-asyncio
and adding below lines in my file.
import nest_asyncio
nest_asyncio.apply()
__import__('IPython').embed()
I got the issue resolved by using the nest_async
pip install nest-asyncio
and adding below lines in my file.
import nest_asyncio
nest_asyncio.apply()
__import__('IPython').embed()