sbsmapper / app.py
georad's picture
Update app.py
7215dc2 verified
raw
history blame
567 Bytes
import streamlit as st
import torch
import uuid
import nest_asyncio
import asyncio
torch.classes.__path__ = []
if 'device_id' not in st.session_state:
st.session_state.device_id = str(uuid.uuid4())
if "feedback_key" not in st.session_state:
st.session_state.feedback_key = 0
if __name__ == "__main__":
st.set_page_config(page_title="Test Sticky Header", layout="wide")
st.image("images/SBS_Chapter_Index.png")
for i in range(50):
st.write(f"Settings: Scrollable content line {i+1}")
nest_asyncio.apply()
#asyncio.run(main())