cdleong commited on
Commit
1ab459a
·
1 Parent(s): 4d17028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,6 +2,10 @@ import streamlit as st
2
  import langcodes
3
  #import asyncio
4
  #loop = asyncio.get_running_loop()
 
 
 
 
5
  from requests_html import AsyncHTMLSession
6
  asession = AsyncHTMLSession()
7
 
 
2
  import langcodes
3
  #import asyncio
4
  #loop = asyncio.get_running_loop()
5
+ loop = asyncio.new_event_loop()
6
+ asyncio.set_event_loop(loop)
7
+
8
+
9
  from requests_html import AsyncHTMLSession
10
  asession = AsyncHTMLSession()
11