Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,7 @@ def make_flashcards(words, language):
|
|
52 |
last_line = output_text.strip().split("\n")[-1]
|
53 |
output = [w.strip() for w in last_line.split(":") if w.strip()]
|
54 |
return output
|
|
|
55 |
# words=text_inference(text, "korean")
|
56 |
# print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
|
57 |
# print("flashcard output:",make_flashcards(words, "korean"))
|
|
|
52 |
last_line = output_text.strip().split("\n")[-1]
|
53 |
output = [w.strip() for w in last_line.split(":") if w.strip()]
|
54 |
return output
|
55 |
+
|
56 |
# words=text_inference(text, "korean")
|
57 |
# print("OUTPUT TOUT OUETOI EIFJ IEFJ",words)
|
58 |
# print("flashcard output:",make_flashcards(words, "korean"))
|