yinuozhang commited on
Commit
453bb69
·
1 Parent(s): 4c0ad02

update logo

Browse files
app.py CHANGED
@@ -1164,8 +1164,8 @@ def get_title_html():
1164
  with open(path, "rb") as f:
1165
  return base64.b64encode(f.read()).decode("utf-8")
1166
 
1167
- light_b64 = load_svg_b64("peptiverse-light.svg")
1168
- dark_b64 = load_svg_b64("peptiverse-dark.svg")
1169
 
1170
  if light_b64 or dark_b64:
1171
  imgs = []
@@ -1192,7 +1192,7 @@ def get_title_html():
1192
  </div>
1193
  '''
1194
 
1195
- # ---------- Fallback (unchanged) ----------
1196
  return '''
1197
  <div class="svg-title-container">
1198
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 140"
 
1164
  with open(path, "rb") as f:
1165
  return base64.b64encode(f.read()).decode("utf-8")
1166
 
1167
+ light_b64 = load_svg_b64("peptiverse-light-withlogo.svg")
1168
+ dark_b64 = load_svg_b64("peptiverse-dark-withlogo.svg")
1169
 
1170
  if light_b64 or dark_b64:
1171
  imgs = []
 
1192
  </div>
1193
  '''
1194
 
1195
+ # ---------- Fallback ----------
1196
  return '''
1197
  <div class="svg-title-container">
1198
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 140"
peptiverse-dark-withlogo.svg ADDED
peptiverse-light-withlogo.svg ADDED