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