streamlit1 streamline 특강 정리 streamlitpython으로 간단하게 웹 애플리케이션을 만들 수 있는 오픈 소스 프레임워크이다. 데이터 과학과 머신러닝에서 결과를 공유하거나 대화형 대시보드를 제작하는 데 유용하다. 설치 pip install streamlit 라이브러리 불러오기import streamlit as st 실행streamli run 파일이름.py streamlit은 .py파일만 실행 가능하다. 예제들 st.title("타이틀 내용")st.header("헤더 내용") st.text("텍스트 내용") # 버튼 if st.button("버튼을 클릭"): st.write("버튼을 눌렀습니다") # 체크박스save_box = st.checkbox("저장하시겠습니까?")if save_box is True: st.wr.. 2024. 12. 5. 이전 1 다음