rhea2809 commited on
Commit
23960ff
·
1 Parent(s): f6df57e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -3
app.py CHANGED
@@ -5,6 +5,24 @@ image = Image.open("rai_raise_main_badge_pos_102.png")
5
  video_file = open('raii.mp4', 'rb')
6
  video_bytes = video_file.read()
7
 
8
- title_container = st.container()
9
- title_container.image(image, width = 300)
10
- title_container.video(video_bytes)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  video_file = open('raii.mp4', 'rb')
6
  video_bytes = video_file.read()
7
 
8
+ col1, col2, col3 = st.columns(3)
9
+
10
+ with col1:
11
+ st.image(image, width = 300)
12
+
13
+ with col2:
14
+ st.video(video_bytes)
15
+
16
+ with col3:
17
+ st.markdown("""
18
+ <style>
19
+ div.stButton > button:first-child {
20
+ background-color: #0099ff;
21
+ color:#ffffff;
22
+ }
23
+ div.stButton > button:hover {
24
+ background-color: #00ff00;
25
+ color:#ff0000;
26
+ }
27
+ </style>""", unsafe_allow_html=True)
28
+ st.link_button("Press Release","https://www.responsible.ai/")