multimodalart HF Staff commited on
Commit
50e24fc
·
verified ·
1 Parent(s): 3b12065

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -403,7 +403,7 @@ CSS = """
403
  #lq-go { font-size:1.02rem !important; font-weight:700 !important; }
404
  """
405
 
406
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, head=HEAD, title="Liquid Image → JSON") as demo:
407
  gr.HTML(
408
  '<div id="lq-hero">'
409
  "<h1>💧 Liquid Image → JSON</h1>"
@@ -437,4 +437,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, head=HEAD, title="Liquid Image
437
  go.click(extract, [image, model_key, schema_store], result)
438
 
439
  if __name__ == "__main__":
440
- demo.queue(max_size=20).launch()
 
403
  #lq-go { font-size:1.02rem !important; font-weight:700 !important; }
404
  """
405
 
406
+ with gr.Blocks(title="Liquid Image → JSON") as demo:
407
  gr.HTML(
408
  '<div id="lq-hero">'
409
  "<h1>💧 Liquid Image → JSON</h1>"
 
437
  go.click(extract, [image, model_key, schema_store], result)
438
 
439
  if __name__ == "__main__":
440
+ demo.queue(max_size=20).launch(theme=gr.themes.Citrus(), css=CSS, head=HEAD)