prithivMLmods commited on
Commit
5280451
·
verified ·
1 Parent(s): ba8c71d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -227,14 +227,17 @@ def process_document_stream(model_name: str, task_choice: str, image: Image.Imag
227
  def create_gradio_interface():
228
  """Builds and returns the Gradio web interface."""
229
  css = """
 
 
 
230
  .main-container { max-width: 1400px; margin: 0 auto; }
231
  .process-button { border: none !important; color: white !important; font-weight: bold !important; background-color: blue !important;}
232
  .process-button:hover { background-color: darkblue !important; transform: translateY(-2px) !important; box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; }
233
  """
234
  with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
 
235
  gr.HTML("""
236
  <div class="title" style="text-align: center">
237
- <h1>OCR Comparator🥠</h1>
238
  <p style="font-size: 1.1em; color: #6b7280; margin-bottom: 0.6em;">
239
  Advanced Vision-Language Model for Image Content and Layout Extraction
240
  </p>
 
227
  def create_gradio_interface():
228
  """Builds and returns the Gradio web interface."""
229
  css = """
230
+ #title{text-align: center}
231
+ #title h1{font-size: 3em; display:inline-flex; align-items:center}
232
+ #title img{width: 100px; margin-right: 0.5em}
233
  .main-container { max-width: 1400px; margin: 0 auto; }
234
  .process-button { border: none !important; color: white !important; font-weight: bold !important; background-color: blue !important;}
235
  .process-button:hover { background-color: darkblue !important; transform: translateY(-2px) !important; box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; }
236
  """
237
  with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
238
+ gr.HTML("""<h1>Tiny VLMs Lab🧪</h1>""", elem_id="title",)
239
  gr.HTML("""
240
  <div class="title" style="text-align: center">
 
241
  <p style="font-size: 1.1em; color: #6b7280; margin-bottom: 0.6em;">
242
  Advanced Vision-Language Model for Image Content and Layout Extraction
243
  </p>