hassiahk commited on
Commit
6cbae78
1 Parent(s): c1f7cd5

Fix Logo size and alignment

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -71,7 +71,20 @@ if not os.path.isfile(model_path):
71
 
72
  model, state = fetch_model()
73
  pi = math.pi
74
- st.sidebar.image("images/diet-nerf-logo.png", width=310)
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  st.sidebar.markdown(
76
  """
77
  <p style='text-align: center'>
 
71
 
72
  model, state = fetch_model()
73
  pi = math.pi
74
+ # st.sidebar.image("images/diet-nerf-logo.png", width=310)
75
+ st.sidebar.markdown(
76
+ """
77
+ <style>
78
+ .aligncenter {
79
+ text-align: center;
80
+ }
81
+ </style>
82
+ <p class="aligncenter">
83
+ <img src="images/diet-nerf-logo.png"/>
84
+ </p>
85
+ """,
86
+ unsafe_allow_html=True,
87
+ )
88
  st.sidebar.markdown(
89
  """
90
  <p style='text-align: center'>