Spaces:
Runtime error
Runtime error
import streamlit as st | |
from PIL import Image | |
image = Image.open("rai_raise_main_badge_pos_102.png") | |
video_file = open('raii.mp4', 'rb') | |
video_bytes = video_file.read() | |
col1, col2, col3 = st.columns(3) | |
with col1: | |
st.image(image, width = 300) | |
with col2: | |
st.video(video_bytes) | |
with col3: | |
st.markdown(""" | |
<style> | |
div.stButton > button:first-child { | |
background-color: #0099ff; | |
color:#ffffff; | |
} | |
div.stButton > button:hover { | |
background-color: #00ff00; | |
color:#ff0000; | |
} | |
</style>""", unsafe_allow_html=True) | |
st.link_button("Press Release","https://www.responsible.ai/") | |