Diego-0121 commited on
Commit
b8e0f00
·
1 Parent(s): 53943e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,11 +13,11 @@ def extract_text_from_image(image):
13
  # Define Gradio interface
14
  iface = gr.Interface(
15
  fn=extract_text_from_image,
16
- inputs=gr.Image (numpy ="file", label="Upload Image"),
17
  outputs="text",
18
  title="OCR APP ",
19
  description="Upload an image and we'll extract the text for you.",
20
- layout="unaligned",
21
  )
22
 
23
  # Launch Gradio Interface
 
13
  # Define Gradio interface
14
  iface = gr.Interface(
15
  fn=extract_text_from_image,
16
+ inputs=gr.Image (label="Upload Image"),
17
  outputs="text",
18
  title="OCR APP ",
19
  description="Upload an image and we'll extract the text for you.",
20
+
21
  )
22
 
23
  # Launch Gradio Interface