to-be commited on
Commit
da509d5
1 Parent(s): 7384818

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,11 +68,11 @@ title = "Demo: Donut 🍩 for invoice header retrieval"
68
  #demo = gr.Interface(fn=process_document,inputs=gr_image,outputs="json",title="Demo: Donut 🍩 for invoice header retrieval", description=description,
69
  # article=article,enable_queue=True, examples=[["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], cache_examples=False)
70
 
71
- css = "#inp {height: 40rem !important; width: 100% !important;}"
72
  # css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
73
  # css = ".output_image, .input_image {height: 600px !important}"
74
 
75
- css = ".image-preview {height: auto !important;}"
76
 
77
 
78
  with gr.Blocks(css=css) as demo:
 
68
  #demo = gr.Interface(fn=process_document,inputs=gr_image,outputs="json",title="Demo: Donut 🍩 for invoice header retrieval", description=description,
69
  # article=article,enable_queue=True, examples=[["example.jpg"], ["example_2.jpg"], ["example_3.jpg"]], cache_examples=False)
70
 
71
+ css = "#inp {height: 600px !important; width: 100% !important;}"
72
  # css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
73
  # css = ".output_image, .input_image {height: 600px !important}"
74
 
75
+ #css = ".image-preview {height: auto !important;}"
76
 
77
 
78
  with gr.Blocks(css=css) as demo: