import streamlit as st
import streamlit.components.v1 as components
# Set page config for dark theme
st.set_page_config(layout="wide", page_title="Web UI", page_icon=":ghost:", initial_sidebar_state="expanded")
# Apply dark theme
st.markdown("""
""", unsafe_allow_html=True)
# Sidebar menu
st.sidebar.title("메뉴")
menu = st.sidebar.radio("선택하세요:", ("A", "B"))
# Main content
if menu == "A":
components.iframe("https://seawolf2357-flxloraexp.hf.space", height=800, scrolling=True)
elif menu == "B":
components.iframe("http://hugpu.ai:8000", height=800, scrolling=True)
# Make the layout responsive
st.markdown("""
""", unsafe_allow_html=True)