Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -157,10 +157,10 @@ if app_mode == "Welcome":
|
|
| 157 |
st.write("# Welcome to Amazon Smbhav! 🎉")
|
| 158 |
|
| 159 |
# Example for adding a local video
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
#
|
| 163 |
-
|
| 164 |
|
| 165 |
# Add a welcome image
|
| 166 |
welcome_image = Image.open("grid_banner.jpg") # Replace with the path to your welcome image
|
|
|
|
| 157 |
st.write("# Welcome to Amazon Smbhav! 🎉")
|
| 158 |
|
| 159 |
# Example for adding a local video
|
| 160 |
+
video_file = open('Finalist.mp4', 'rb') # Replace with the path to your video file
|
| 161 |
+
video_bytes = video_file.read()
|
| 162 |
+
# Embed the video using st.video()
|
| 163 |
+
st.video(video_bytes)
|
| 164 |
|
| 165 |
# Add a welcome image
|
| 166 |
welcome_image = Image.open("grid_banner.jpg") # Replace with the path to your welcome image
|