Andy Lau commited on
Commit
3e546a4
1 Parent(s): 6f4c7d6

removed theming system since hugging face doesn't support it

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +11 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Model IO Space
3
- emoji: 💻
4
  colorFrom: pink
5
  colorTo: yellow
6
  sdk: streamlit
 
1
  ---
2
  title: Model IO Space
3
+ emoji: ✉️
4
  colorFrom: pink
5
  colorTo: yellow
6
  sdk: streamlit
app.py CHANGED
@@ -164,7 +164,8 @@ def add_bg_from_url():
164
  .stApp {{
165
  background-image: linear-gradient(#0A3144,#126072,#1C8D99);
166
  background-attachment: fixed;
167
- background-size: cover
 
168
  }}
169
  </style>
170
  """,
@@ -176,13 +177,21 @@ st.set_page_config(layout="wide")
176
  if 'user_counts' not in st.session_state:
177
  st.session_state['user_counts'] = 0
178
 
179
- add_bg_from_url()
180
 
181
  # st.session_state.user_counts +=1 # Increase usercounter
182
 
183
 
184
  # col1, col2 = st.columns([10,1])
185
  # with col1:
 
 
 
 
 
 
 
 
186
  st.markdown('# Image Optimization: Email Industry')
187
 
188
  # with col2:
 
164
  .stApp {{
165
  background-image: linear-gradient(#0A3144,#126072,#1C8D99);
166
  background-attachment: fixed;
167
+ background-size: cover;
168
+ color: white;
169
  }}
170
  </style>
171
  """,
 
177
  if 'user_counts' not in st.session_state:
178
  st.session_state['user_counts'] = 0
179
 
180
+ # add_bg_from_url()
181
 
182
  # st.session_state.user_counts +=1 # Increase usercounter
183
 
184
 
185
  # col1, col2 = st.columns([10,1])
186
  # with col1:
187
+ # st.markdown("""
188
+ # <style>
189
+ # .big-font {
190
+ # font-size:50px !important;
191
+ # }
192
+ # </style>
193
+ # """, unsafe_allow_html=True)
194
+ # st.markdown('<p class="big-font">Image Optimization: Email Industry</p>', unsafe_allow_html=True)
195
  st.markdown('# Image Optimization: Email Industry')
196
 
197
  # with col2: