ankush-003 commited on
Commit
b7f1f18
·
1 Parent(s): 7a38bf7

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ def read_img(image):
15
  # Run the model
16
  result = predictor(doc)
17
  # Return the result
18
- return result, result.show()
19
 
20
  app = gr.Interface(
21
  title="Image OCR",
@@ -26,4 +26,4 @@ app = gr.Interface(
26
  )
27
 
28
 
29
- app.launch(debug=True, share=True)
 
15
  # Run the model
16
  result = predictor(doc)
17
  # Return the result
18
+ return result, result.show(doc)
19
 
20
  app = gr.Interface(
21
  title="Image OCR",
 
26
  )
27
 
28
 
29
+ app.launch(debug=True)