Spaces:
Sleeping
Sleeping
File size: 1,428 Bytes
6cc644e 68f3c75 6cc644e 8677f96 7937b26 68f3c75 ebf5ef9 7937b26 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
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")
|