w3robotics commited on
Commit
a526566
·
verified ·
1 Parent(s): 7401378

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  from streamlit_extras.stylable_container import stylable_container
4
 
5
  st.markdown(
6
- '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/> <i class="fa-solid fa-file-arrow-up"></i>',
7
  unsafe_allow_html=True,
8
  )
9
 
@@ -22,6 +22,21 @@ with stylable_container(
22
  ):
23
  st.button("Upload File")
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
 
27
 
 
3
  from streamlit_extras.stylable_container import stylable_container
4
 
5
  st.markdown(
6
+ '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/> ',
7
  unsafe_allow_html=True,
8
  )
9
 
 
22
  ):
23
  st.button("Upload File")
24
 
25
+ with stylable_container(
26
+ key="container_with_border",
27
+ css_styles=r"""
28
+ button p:before {
29
+ font-family: 'Font Awesome 5 Free';
30
+ content: '\f574';
31
+ display: inline-block;
32
+ padding-right: 3px;
33
+ vertical-align: middle;
34
+ font-weight: 900;
35
+ }
36
+ """,
37
+ ):
38
+ st.button("Upload File")
39
+
40
 
41
 
42