I try to develop a Streamlit app with duckduckgo-search to have a chatbot which can know real-time context.
Found a such great app:
It worked month ago, but now each time I visit the site there is an error message
RuntimeError(‘There is no current event loop in thread %r.’)
Also deployed the code locally on my computer and I get the same error message.
How can it be fixed?
thx,
Aga