dimasdeffieux commited on
Commit
42d101f
·
verified ·
1 Parent(s): 3f4a6b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -56,9 +56,9 @@ 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"))
62
 
63
  print("OCR OUTPUT: ", ocr_inference(img, "korean"))
64
  words=text_inference(text, "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"))
64
  words=text_inference(text, "korean")