esraa-abdelmaksoud commited on
Commit
aabf65f
·
1 Parent(s): 5c88b2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio
2
  import Levenshtein
3
 
4
- def calculate_distance(orginal_text, ocr_text):
5
  # split words and characters
6
  ocr_words = ocr_text.split()
7
  org_words = orginal_text.split()
 
1
  import gradio
2
  import Levenshtein
3
 
4
+ def calculate_distance(ocr_text, orginal_text):
5
  # split words and characters
6
  ocr_words = ocr_text.split()
7
  org_words = orginal_text.split()