Spaces:
Sleeping
Sleeping
File size: 534 Bytes
e52b8e1 8916dd4 e52b8e1 8916dd4 e52b8e1 6702e35 e52b8e1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import streamlit as st
from utils.wolvesville import Wolvesville
from utils.models import LoadingScreen
from utils.helper import getTitle
from typing import List
api = Wolvesville()
screens: List[LoadingScreen] = api.getScreens()
st.markdown(getTitle("Loading Screens"), unsafe_allow_html=True)
for screen in screens[:5]:
st.markdown(
f'<img src="{screen.image.url}" style="height:75%; width:75%;"/>',
unsafe_allow_html=True,
)
rarity = screen.rarity.title()
st.header(rarity)
st.divider()
|