import os import streamlit as st import torch import pandas as pd def get_device_map() -> str: return 'cuda' if torch.cuda.is_available() else 'cpu' device = get_device_map() # 'cpu' custom_css = f""" """ if __name__ == "__main__": st.markdown(custom_css, unsafe_allow_html=True) st.set_page_config(page_title="Sticky Header test", layout="wide") setup_page()