dimasdeffieux commited on
Commit
7a9b799
·
verified ·
1 Parent(s): c9b18be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -56,6 +56,8 @@ def make_flashcards(words, language):
56
  output = [w.strip() for w in last_line.split(":") if w.strip()]
57
  return output
58
 
59
- words=text_inference(text, "korean")
60
- print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
61
- print("flashcard output:",make_flashcards(words, "korean"))
 
 
 
56
  output = [w.strip() for w in last_line.split(":") if w.strip()]
57
  return output
58
 
59
+ # words=text_inference(text, "korean")
60
+ # print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
61
+ # print("flashcard output:",make_flashcards(words, "korean"))
62
+
63
+ print("OCR OUTPUT: "ocr_inference(img, "korean"))