Update src/app.py
Browse files- src/app.py +5 -5
src/app.py
CHANGED
|
@@ -38,11 +38,11 @@ with open("/tmp/.streamlit/config.toml", "w") as f:
|
|
| 38 |
# except RuntimeError:
|
| 39 |
# loop = asyncio.new_event_loop()
|
| 40 |
# asyncio.set_event_loop(loop)
|
| 41 |
-
import asyncio
|
| 42 |
-
try:
|
| 43 |
-
|
| 44 |
-
except RuntimeError:
|
| 45 |
-
|
| 46 |
|
| 47 |
import streamlit as st
|
| 48 |
from PIL import Image
|
|
|
|
| 38 |
# except RuntimeError:
|
| 39 |
# loop = asyncio.new_event_loop()
|
| 40 |
# asyncio.set_event_loop(loop)
|
| 41 |
+
# import asyncio
|
| 42 |
+
# try:
|
| 43 |
+
# asyncio.get_event_loop()
|
| 44 |
+
# except RuntimeError:
|
| 45 |
+
# asyncio.set_event_loop(asyncio.new_event_loop())
|
| 46 |
|
| 47 |
import streamlit as st
|
| 48 |
from PIL import Image
|