Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"))
|