nielsr HF staff commited on
Commit
abcbf58
1 Parent(s): 116399b

Make input and output slightly bigger

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ 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 = ".output_image, .input_image {height: 30rem !important; width: 100% !important;}"
88
  # css = ".output_image, .input_image {height: 600px !important}"
89
 
90
  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 = ".output_image, .input_image {height: 600px !important}"
89
 
90
  iface = gr.Interface(fn=process_image,