File size: 592 Bytes
c684f94 5528cae 6e0e30b c684f94 6e0e30b c684f94 6e0e30b e6fdcd2 6e0e30b c684f94 7215dc2 efb2516 7ae6dbe efb2516 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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()
sys.stdout.flush()
#asyncio.run(main()) |