ankush-003 commited on
Commit
4e3c19e
·
1 Parent(s): 271974a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def read_img(image):
24
  app = gr.Interface(
25
  title="Image OCR",
26
  description="Extract text from images",
27
- inputs=gr.Image(type="pil", label="Input image", source="webcam"),
28
  outputs=[gr.Textbox(label="Image Text"), gr.Textbox(label="Summary"), gr.Image(label="Image")],
29
  fn=read_img
30
  )
 
24
  app = gr.Interface(
25
  title="Image OCR",
26
  description="Extract text from images",
27
+ inputs=gr.Image(type="pil", label="Input image"),
28
  outputs=[gr.Textbox(label="Image Text"), gr.Textbox(label="Summary"), gr.Image(label="Image")],
29
  fn=read_img
30
  )