Skip to content

Commit

Permalink
fix: correct the output of generate flashcard
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Mar 7, 2024
1 parent 7e1644d commit 8098d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/flashcards/textToFlashcards.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def generate_template(sample_info: str = sample_info) -> str:

return template

def generate_flashcards(sample_info: str = sample_info) -> list[str]:
def generate_flashcards(sample_info: str = sample_info) -> list[Flashcard]:
"""
Returns a flashcard generated from the sample text
Expand Down

0 comments on commit 8098d5b

Please sign in to comment.