mawady commited on
Commit
a86b3f5
1 Parent(s): 6a803ad
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,12 +42,12 @@ input_im = gr.inputs.Image(
42
  shape=None, image_mode="RGB", invert_colors=False, source="upload", type="pil"
43
  )
44
 
45
- output_img = gr.outputs.Image(label="Output of OCR", type="pil").style(height=256)
46
  output_txt = gr.outputs.Textbox(type='text', label='predictions')
47
 
48
  title = "Reading draught marks"
49
  description = (
50
- "Playground: Reading draught marks using pre-trained models. Tools: MMOCR, Gradio."
51
  )
52
  examples = [["./example1.jpg"], ["./example2.jpg"]]
53
  article = "<p style='text-align: center'><a href='https://github.com/mawady' target='_blank'>By Dr. Mohamed Elawady</a></p>"
 
42
  shape=None, image_mode="RGB", invert_colors=False, source="upload", type="pil"
43
  )
44
 
45
+ output_img = gr.outputs.Image(label="Output of OCR", type="pil")
46
  output_txt = gr.outputs.Textbox(type='text', label='predictions')
47
 
48
  title = "Reading draught marks"
49
  description = (
50
+ "Playground: Reading draught marks using pre-trained models. Tools: MMOCR, Gradio. Source of images: Wikipedia."
51
  )
52
  examples = [["./example1.jpg"], ["./example2.jpg"]]
53
  article = "<p style='text-align: center'><a href='https://github.com/mawady' target='_blank'>By Dr. Mohamed Elawady</a></p>"