Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,6 @@ def make_flashcards(words, language):
|
|
41 |
|
42 |
system_prompt = (
|
43 |
f"for each {language} word in the list, write a flashcard in this format: the word, then its definition, then an example sentence using the word, and then a translation of example sentence"
|
44 |
-
|
45 |
)
|
46 |
user_prompt = f"{system_prompt}\n\nWords:\n{words}"
|
47 |
|
|
|
41 |
|
42 |
system_prompt = (
|
43 |
f"for each {language} word in the list, write a flashcard in this format: the word, then its definition, then an example sentence using the word, and then a translation of example sentence"
|
|
|
44 |
)
|
45 |
user_prompt = f"{system_prompt}\n\nWords:\n{words}"
|
46 |
|