import streamlit as st # import wget x = st.slider('Select a value') st.write(x, 'squared is', x * x) # wget.download("https://github.com/chdaesung/sogang/raw/main/2024/genAI/P9-streamlit/autoai.mp4") # wget.download("https://github.com/chdaesung/sogang/raw/main/2024/genAI/P9-streamlit/news.mp3") # wget.download("https://raw.githubusercontent.com/chdaesung/sogang/main/2024/genAI/P9-streamlit/Streamlit-logo-primary-colormark-darktext.png") # main.py에 다음 코드를 입력하고 저장하십시오. st.header("this is the markdown") st.markdown("this is the header") st.subheader("this is the subheader") st.caption("this is the caption") st.code("x=2021") st.latex(r''' a+a r^1+a r^2+a r^3 ''') st.write("스트림릿을 테스트 중입니다.") st.checkbox('yes') st.button('Click') st.radio('Pick your gender',['Male','Female']) st.selectbox('Pick your gender',['Male','Female']) st.multiselect('choose a planet',['Jupiter', 'Mars', 'neptune']) st.select_slider('Pick a mark', ['Bad', 'Good', 'Excellent']) st.slider('Pick a number', 0,50) st.number_input('Pick a number', 0,10) st.text_input('Email address') st.date_input('Travelling date') st.time_input('School time') st.text_area('Description') st.file_uploader('Upload a photo') st.color_picker('Choose your favorite color') st.image("/content/Streamlit-logo-primary-colormark-darktext.png") st.audio("/content/news.mp3") st.video("/content/autoai.mp4")