MQAnh commited on
Commit
8f40594
·
verified ·
1 Parent(s): f705816

Update app.py ver5

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,11 +20,11 @@ iface = gr.Interface(
20
  fn=ocr_infer,
21
  inputs=gr.Image(type="pil"),
22
  outputs="text",
23
- title="Image to Text (OCR) ver4",
24
  description="Upload a handwritten or printed image to extract text using TrOCR."
25
  )
26
 
27
- if __name__ == "__main__":
28
- iface.launch(share=True)
29
 
30
 
 
20
  fn=ocr_infer,
21
  inputs=gr.Image(type="pil"),
22
  outputs="text",
23
+ title="Image to Text (OCR) ver5",
24
  description="Upload a handwritten or printed image to extract text using TrOCR."
25
  )
26
 
27
+
28
+ iface.launch()
29
 
30