JPLTedCas commited on
Commit
165f5e4
·
verified ·
1 Parent(s): 13387eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -18
app.py CHANGED
@@ -16,25 +16,18 @@ os.environ["HUGGINGFACEHUB_API_TOKEN"] = st.secrets['huggingface_token']
16
 
17
 
18
  def add_logo():
 
19
  st.markdown(
20
- """
21
- <style>
22
- [data-testid="stSidebarNav"] {
23
- background-image: url(https://smbk.s3.amazonaws.com/media/organization_logos/111579646d1241f4be17bd7394dcb238.jpg);
24
- background-repeat: no-repeat;
25
- padding-top: 120px;
26
- background-position: 20px 20px;
27
- }
28
- [data-testid="stSidebarNav"]::before {
29
- content: "My Company Name";
30
- margin-left: 20px;
31
- margin-top: 20px;
32
- font-size: 30px;
33
- position: relative;
34
- top: 100px;
35
- }
36
- </style>
37
- """,
38
  unsafe_allow_html=True,
39
  )
40
 
 
16
 
17
 
18
  def add_logo():
19
+
20
  st.markdown(
21
+ f"""
22
+ <style>
23
+ [data-testid="stSidebar"] {{
24
+ background-image: url(https://smbk.s3.amazonaws.com/media/organization_logos/111579646d1241f4be17bd7394dcb238.jpg);
25
+ background-repeat: no-repeat;
26
+ padding-top: 80px;
27
+ background-position: 20px 20px;
28
+ }}
29
+ </style>
30
+ """,
 
 
 
 
 
 
 
 
31
  unsafe_allow_html=True,
32
  )
33