Spaces:
Sleeping
Sleeping
Download qa_generator/constants.py from NandyG/QA_Generator: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/NandyG/QA_Generator/resolve/main/qa_generator/constants.py
- Command line
-
hf download hf://spaces/NandyG/QA_Generator/qa_generator/constants.py
-
curl -L -o constants.py https://huggingface.co/spaces/NandyG/QA_Generator/resolve/main/qa_generator/constants.py
283 Bytes
| from enum import Enum | |
| class QuestionType(Enum): | |
| MULTIPLE_CHOICE = "Multiple choice" | |
| TRUE_FALSE = "True/false" | |
| FILL_IN_THE_BLANK = "Fill in the blank" | |
| OPEN_ENDED = "Open-ended" | |
| class DifficultyLevel(Enum): | |
| EASY = "Easy" | |
| MEDIUM = "Medium" | |
| HARD = "Hard" | |