Hi! I'm trying to use LlamaParse the following way:
1) Writing my code on front-end library CodeMirror. This code contains LlamaParse stuff (reading files using
SimpleDirectoryReader
etc.
2) Then I send that text to FastAPI backend and call
exec()
function to perform pdf parsing
I was getting a warning from LlamaParse telling that I need to use
nest_asyncio.apply()
. I did it, and now I am getting this:
File "/home/ali/AI/nexus/llm-topic-modelling/venv/lib/python3.10/site-packages/nest_asyncio.py", line 193, in _patch_loop
raise ValueError('Can\'t patch loop of type %s' % type(loop))
ValueError: Can't patch loop of type <class 'uvloop.Loop'>
Any ideas on how to fix this?