prithivMLmods commited on
Commit
17d5dc6
·
verified ·
1 Parent(s): 75c0740

update app

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -272,6 +272,13 @@ label { font-weight: 600 !important; color: #333 !important; }
272
  .dark label { color: #eee !important; }
273
 
274
  footer { display: none !important; }
 
 
 
 
 
 
 
275
  """
276
 
277
  MODEL_PATH = "zai-org/GLM-OCR"
@@ -339,7 +346,7 @@ def process_image(image, task):
339
 
340
  with gr.Blocks(fill_height=True) as demo:
341
 
342
- with gr.Sidebar():
343
 
344
  gr.Markdown("# **GLM-OCR**", elem_id="main-title")
345
 
 
272
  .dark label { color: #eee !important; }
273
 
274
  footer { display: none !important; }
275
+
276
+
277
+ /* Wider sidebar */
278
+ .sidebar {
279
+ min-width: 420px !important;
280
+ max-width: 480px !important;
281
+ }
282
  """
283
 
284
  MODEL_PATH = "zai-org/GLM-OCR"
 
346
 
347
  with gr.Blocks(fill_height=True) as demo:
348
 
349
+ with gr.Sidebar(width=450):
350
 
351
  gr.Markdown("# **GLM-OCR**", elem_id="main-title")
352