ragavsachdeva commited on
Commit
891d769
1 Parent(s): bcc697d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def predict_ocr(
70
  model = load_model()
71
 
72
  path_to_image = "/scratch/shared/beegfs/rs/comics/mangas/bakuman/1.0/p_00009.png"
73
- st.markdown(""" <style> .title-container { background-color: black; padding: 20px; border-radius: 10px; margin: 20px; } .title { font-size: 2em; text-align: center; color: #fff; font-family: 'Comic Sans MS', cursive; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5em 0 0.2em; background: 0 0; } .title span { background: -webkit-linear-gradient(45deg, #6495ed, #4169e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subheading { font-size: 1.5em; text-align: center; color: #ddd; font-family: 'Comic Sans MS', cursive; } .affil, .authors { font-size: 1em; text-align: center; color: #ddd; font-family: 'Comic Sans MS', cursive; } .authors { padding-top: 1em; } </style> <div class='title-container'> <div class='title'> The <span>Ma</span>n<span>g</span>a Wh<span>i</span>sperer </div> <div class='subheading'> Automatically Generating Transcriptions for Comics </div> <div class='authors'> Ragav Sachdeva and Andrew Zisserman </div> <div class='affil'> University of Oxford </div> </div>""", unsafe_allow_html=True)
74
  path_to_image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
75
 
76
  st.sidebar.markdown("**Mode**")
 
70
  model = load_model()
71
 
72
  path_to_image = "/scratch/shared/beegfs/rs/comics/mangas/bakuman/1.0/p_00009.png"
73
+ st.markdown(""" <style> .title-container { background-color: #0d1117; padding: 20px; border-radius: 10px; margin: 20px; } .title { font-size: 2em; text-align: center; color: #fff; font-family: 'Comic Sans MS', cursive; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5em 0 0.2em; background: 0 0; } .title span { background: -webkit-linear-gradient(45deg, #6495ed, #4169e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subheading { font-size: 1.5em; text-align: center; color: #ddd; font-family: 'Comic Sans MS', cursive; } .affil, .authors { font-size: 1em; text-align: center; color: #ddd; font-family: 'Comic Sans MS', cursive; } .authors { padding-top: 1em; } </style> <div class='title-container'> <div class='title'> The <span>Ma</span>n<span>g</span>a Wh<span>i</span>sperer </div> <div class='subheading'> Automatically Generating Transcriptions for Comics </div> <div class='authors'> Ragav Sachdeva and Andrew Zisserman </div> <div class='affil'> University of Oxford </div> </div>""", unsafe_allow_html=True)
74
  path_to_image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
75
 
76
  st.sidebar.markdown("**Mode**")