RuntimeError: This event loop is already running #125
Unanswered
luciameng1989
asked this question in
Q&A
Replies: 1 comment
-
Are you in a jupyter notebook? If so, add this to the top of your notebook import nest_asyncio
nest_asyncio.apply() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use locally hosted GPT4ALL-j model and locally hosted huggingfaceembeddings model to run the code. Everything works fine till the line to query from document, I got an error:
RuntimeError: This event loop is already running
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions