Spaces:
Runtime error
Runtime error
JollypopChannel
commited on
Commit
•
53cb6a3
1
Parent(s):
61f80dd
add note and alert text into the output file when download the output
Browse files- 127.0.0.1.txt +21 -3
- app.py +11 -0
127.0.0.1.txt
CHANGED
@@ -10,7 +10,25 @@ __________ T2E Vocabulary Exam Generator __________
|
|
10 |
| - Happy using T2E Vocabulary Exam Generator! - |
|
11 |
|__________________________________________________|
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
|
|
10 |
| - Happy using T2E Vocabulary Exam Generator! - |
|
11 |
|__________________________________________________|
|
12 |
|
13 |
+
If you don't see any text on the Result page, try changing the CEFR difficulty level selected or choose ALL CEFR level to make sure you get all the questions that the AI can generate. Another possible reason why nothing comes out of the program is because there is no word that can be turned into an exam, try putting a longer text passage as an input into the textbox instead.
|
14 |
+
Visit https://scribehow.com/shared/How_to_use_T2E_Vocabulary_Exam_Generator__vyYu396JT_qZ0jKATVUqeQ#89cd5f52 for more information.
|
15 |
+
|
16 |
+
Note: The first choice of each question is the correct answer, the rest are trick choices!
|
17 |
+
|
18 |
+
|
19 |
+
What is the meaning of this word "bean" in this sentence "need [bean]"?
|
20 |
+
- any of various seeds or fruits that are beans or resemble beans
|
21 |
+
- any of various leguminous plants grown for their edible seeds and pods
|
22 |
+
- hit on the head, especially with a pitched baseball
|
23 |
+
- any of various edible seeds of plants of the family Leguminosae used for food
|
24 |
+
- informal terms for a human head
|
25 |
+
|
26 |
+
What is the meaning of this word "need" in this sentence "[need] bean"?
|
27 |
+
- a condition requiring relief
|
28 |
+
- have or feel a need for
|
29 |
+
- have need of
|
30 |
+
- require as useful, just, or proper
|
31 |
+
- anything that is necessary but lacking
|
32 |
+
- the psychological feature that arouses an organism to action toward a desired goal; the reason for the action; that which gives purpose and direction to behavior
|
33 |
+
- a state of extreme poverty or destitution
|
34 |
|
app.py
CHANGED
@@ -29,6 +29,17 @@ def process():
|
|
29 |
file.write("| - Happy using T2E Vocabulary Exam Generator! - |\n")
|
30 |
file.write("|__________________________________________________|\n")
|
31 |
file.write("\n")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
for key, value in output.items():
|
34 |
vvocab, sentence = key.split(" = ")
|
|
|
29 |
file.write("| - Happy using T2E Vocabulary Exam Generator! - |\n")
|
30 |
file.write("|__________________________________________________|\n")
|
31 |
file.write("\n")
|
32 |
+
file.write("If you don't see any text on the Result page, try changing ")
|
33 |
+
file.write("the CEFR difficulty level selected or choose ALL CEFR level ")
|
34 |
+
file.write("to make sure you get all the questions that the AI can generate. ")
|
35 |
+
file.write("Another possible reason why nothing comes out of the program is ")
|
36 |
+
file.write("because there is no word that can be turned into an exam, try ")
|
37 |
+
file.write("putting a longer text passage as an input into the textbox instead.\n")
|
38 |
+
file.write("Visit https://scribehow.com/shared/How_to_use_T2E_Vocabulary_Exam_Generator__vyYu396JT_qZ0jKATVUqeQ#89cd5f52 for more information.\n")
|
39 |
+
file.write("\n")
|
40 |
+
file.write("Note: The first choice of each question is the correct answer, the rest are trick choices!\n")
|
41 |
+
file.write("\n")
|
42 |
+
file.write("\n")
|
43 |
|
44 |
for key, value in output.items():
|
45 |
vvocab, sentence = key.split(" = ")
|