Using the asyncio and playwight in streamlit

:rotating_light: Before clicking “Create Topic”, please make sure your post includes the following information (otherwise, the post will be locked). :rotating_light:

  1. Share the link to the public deployed app. :
  2. Share the link to your app’s public GitHub repository (including a requirements file).
  1. Share the full text of the error message (not a screenshot).
    AttributeError: module ‘asyncio’ has no attribute ‘ProactorEventLoop’


File "/mount/src/get_results/", line 324, in <module>
    loop = asyncio.ProactorEventLoop()
  1. Share the Streamlit and Python versions.
    latest streamit version and python == 3.9.9

The code is working locally but getting the above error after deploying the app,