Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,15 @@ import json
|
|
| 4 |
from streamlit_lottie import st_lottie
|
| 5 |
from PIL import Image
|
| 6 |
|
|
|
|
|
|
|
| 7 |
def lottiemaker(path):
|
| 8 |
with open(path) as f:
|
| 9 |
return json.load(f)
|
| 10 |
|
| 11 |
def loadimg(path):
|
| 12 |
img = Image.open(path)
|
| 13 |
-
img = img.resize((
|
| 14 |
return img
|
| 15 |
|
| 16 |
selected = option_menu(
|
|
|
|
| 4 |
from streamlit_lottie import st_lottie
|
| 5 |
from PIL import Image
|
| 6 |
|
| 7 |
+
st.set_page_config(layout="wide")
|
| 8 |
+
|
| 9 |
def lottiemaker(path):
|
| 10 |
with open(path) as f:
|
| 11 |
return json.load(f)
|
| 12 |
|
| 13 |
def loadimg(path):
|
| 14 |
img = Image.open(path)
|
| 15 |
+
img = img.resize((250,250))
|
| 16 |
return img
|
| 17 |
|
| 18 |
selected = option_menu(
|