jayasuriyaK commited on
Commit
2f3306c
·
verified ·
1 Parent(s): abaa990

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -78,7 +78,6 @@ if uploaded_file is not None:
78
 
79
  # prediction_groups is a list of (word, box) tuples
80
  prediction_groups = pipeline.recognize([read_image])
81
- pipeline.reset()
82
  predictions = prediction_groups[0] # extract text list
83
  predictions = get_distance(predictions)
84
  # Set thresh higher for text further apart
 
78
 
79
  # prediction_groups is a list of (word, box) tuples
80
  prediction_groups = pipeline.recognize([read_image])
 
81
  predictions = prediction_groups[0] # extract text list
82
  predictions = get_distance(predictions)
83
  # Set thresh higher for text further apart