srisweet commited on
Commit
3922ac7
1 Parent(s): 27441d6

Added html code to titles & subtitles

Browse files
Files changed (1) hide show
  1. examples.py +5 -3
examples.py CHANGED
@@ -3,11 +3,12 @@ import streamlit as st
3
 
4
 
5
  def app():
6
- st.title("Examples & Applications")
 
 
7
  st.write(
8
  """
9
 
10
- ## Image Retrieval
11
 
12
  Even though we trained the Italian CLIP model on way less examples than the original
13
  OpenAI's CLIP, our training choices and quality datasets led to impressive results!
@@ -50,7 +51,8 @@ def app():
50
  col2.markdown("*a dress for the autumn*")
51
  col2.image("static/img/examples/vestito_autunnale.png")
52
 
53
- st.markdown("## Image Classification")
 
54
  st.markdown("We report this cool example provided by the "
55
  "[DALLE-mini team](https://github.com/borisdayma/dalle-mini). "
56
  "Is the DALLE-mini logo an *avocado* or an armchair (*poltrona*)?")
 
3
 
4
 
5
  def app():
6
+ #st.title("Examples & Applications")
7
+ st.markdown("<h1 style='text-align: center; color: #CD212A;'> Examples & Applications </h1>", unsafe_allow_html=True)
8
+ st.markdown("<h2 style='text-align: center; color: #008C45; font-weight:bold;'> Complex Queries -Image Retrieval </h2>", unsafe_allow_html=True)
9
  st.write(
10
  """
11
 
 
12
 
13
  Even though we trained the Italian CLIP model on way less examples than the original
14
  OpenAI's CLIP, our training choices and quality datasets led to impressive results!
 
51
  col2.markdown("*a dress for the autumn*")
52
  col2.image("static/img/examples/vestito_autunnale.png")
53
 
54
+ #st.markdown("## Image Classification")
55
+ st.markdown("<h2 style='text-align: center; color: #008C45; font-weight:bold;'> Zero Shot Image Classification </h2>", unsafe_allow_html=True)
56
  st.markdown("We report this cool example provided by the "
57
  "[DALLE-mini team](https://github.com/borisdayma/dalle-mini). "
58
  "Is the DALLE-mini logo an *avocado* or an armchair (*poltrona*)?")