Skip to content

Commit 2027888

Browse files
committed
Create Display media.md
1 parent e4ca553 commit 2027888

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Display media.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Here's what each line does:
2+
3+
st.image('./header.png')
4+
5+
Displays an image located at the path './header.png' in the Streamlit app.
6+
7+
st.audio(data)
8+
Plays an audio file provided as 'data' in the Streamlit app.
9+
10+
st.video(data)
11+
12+
Plays a video file provided as 'data' in the Streamlit app.

0 commit comments

Comments
 (0)