Pisethan commited on
Commit
1c6b557
·
verified ·
1 Parent(s): 0b04467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def recognize_text(image):
17
  # Gradio Interface
18
  interface = gr.Interface(
19
  fn=recognize_text,
20
- inputs=gr.inputs.Image(type="file", label="Upload an Image"),
21
- outputs=gr.outputs.Textbox(label="Recognized Text"),
22
  title="OCR Model Demo",
23
  description="Upload an image containing text to test the OCR model.",
24
  )
 
17
  # Gradio Interface
18
  interface = gr.Interface(
19
  fn=recognize_text,
20
+ inputs=gr.Image(type="file", label="Upload an Image"),
21
+ outputs=gr.Textbox(label="Recognized Text"),
22
  title="OCR Model Demo",
23
  description="Upload an image containing text to test the OCR model.",
24
  )