from PIL import Image
st.image(Image.open('위치/이름'))
()안에는 이미지 주소가 들어가도 된다
파라미터
use_column_width=True
사용하면 사진을 가로에 맞출수 있음
동영상
st.video( open('위치/이름', 'rb') )
라이브러리 import문 from PIL import Image 사진 동영상 st.video( open('위치/이름', 'rb') ) |
from PIL import Image
st.image(Image.open('위치/이름'))
()안에는 이미지 주소가 들어가도 된다
파라미터
use_column_width=True
사용하면 사진을 가로에 맞출수 있음
st.video( open('위치/이름', 'rb') )
라이브러리 import문 from PIL import Image 사진 동영상 st.video( open('위치/이름', 'rb') ) |