Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
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 |
|
8 |
async def get_pythonorg():
|
9 |
r = await asession.get('https://python.org/')
|
|
|
1 |
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 |
|
8 |
async def get_pythonorg():
|
9 |
r = await asession.get('https://python.org/')
|