prithivMLmods commited on
Commit
b93d4f0
·
verified ·
1 Parent(s): 70e87c9

update app

Browse files
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -141,10 +141,19 @@ def process_image(image, task):
141
 
142
  return output_text.strip()
143
 
144
- with gr.Blocks(title="GLM-OCR") as demo:
 
 
 
 
 
 
 
 
 
145
 
146
- gr.Markdown("# GLM-OCR")
147
- gr.Markdown("Document parsing and text recognition powered by AI")
148
 
149
  with gr.Row():
150
 
@@ -177,7 +186,6 @@ with gr.Blocks(title="GLM-OCR") as demo:
177
  output_text = gr.Textbox(
178
  label="Output",
179
  lines=18,
180
- show_copy_button=True
181
  )
182
 
183
  with gr.Tab("Markdown"):
 
141
 
142
  return output_text.strip()
143
 
144
+
145
+ css="""
146
+ #col-container {
147
+ margin: 0 auto;
148
+ max-width: 1000px;
149
+ }
150
+ #main-title h1 {font-size: 2.3em !important;}
151
+ """
152
+
153
+ with gr.Blocks() as demo:
154
 
155
+ gr.Markdown("# **GLM-OCR**", elem_id="main-title")
156
+ gr.Markdown("Multimodal OCR model for complex document understanding.")
157
 
158
  with gr.Row():
159
 
 
186
  output_text = gr.Textbox(
187
  label="Output",
188
  lines=18,
 
189
  )
190
 
191
  with gr.Tab("Markdown"):