nielsr HF staff commited on
Commit
9cf0a0d
1 Parent(s): 0b4d10c

Update CSS

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,8 +84,8 @@ description = "Demo for Microsoft's LayoutLMv2, a Transformer for state-of-the-a
84
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2012.14740' target='_blank'>LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understanding</a> | <a href='https://github.com/microsoft/unilm' target='_blank'>Github Repo</a></p>"
85
  examples =[['document.png']]
86
 
87
- css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
88
- #css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
89
  # css = ".output_image, .input_image {height: 600px !important}"
90
 
91
  iface = gr.Interface(fn=process_image,
 
84
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2012.14740' target='_blank'>LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understanding</a> | <a href='https://github.com/microsoft/unilm' target='_blank'>Github Repo</a></p>"
85
  examples =[['document.png']]
86
 
87
+ css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
88
+ #css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
89
  # css = ".output_image, .input_image {height: 600px !important}"
90
 
91
  iface = gr.Interface(fn=process_image,