dimasdeffieux commited on
Commit
f40e6b7
·
verified ·
1 Parent(s): 596db7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -56,11 +56,11 @@ def make_flashcards(words, language):
56
  # print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
57
  # print("flashcard output:",make_flashcards(words, "korean"))
58
 
59
- print("OCR OUTPUT: ", ocr_inference(img, "korean"))
60
- words=text_inference(text, "korean")
61
- print("TEXT INPUT: ", text)
62
- print("WORD PARSING: ",words)
63
- print("flashcard output:",make_flashcards(words, "korean"))
64
 
65
  examples = [
66
  [{"text": "@RolmOCR OCR the Text in the Image", "files": ["rolm/1.jpeg"]}],
 
56
  # print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
57
  # print("flashcard output:",make_flashcards(words, "korean"))
58
 
59
+ # print("OCR OUTPUT: ", ocr_inference(img, "korean"))
60
+ # words=text_inference(text, "korean")
61
+ # print("TEXT INPUT: ", text)
62
+ # print("WORD PARSING: ",words)
63
+ # print("flashcard output:",make_flashcards(words, "korean"))
64
 
65
  examples = [
66
  [{"text": "@RolmOCR OCR the Text in the Image", "files": ["rolm/1.jpeg"]}],