Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def get_response_message(config):
|
|
80 |
def generate_questions(model_name, user_level, num_questions, question_type, language, explanation_language, context,
|
81 |
learning_outcomes, mode):
|
82 |
if mode == "Reviewing" and not context.strip():
|
83 |
-
return {"error": "Với chế độ
|
84 |
|
85 |
config = {
|
86 |
"model_name": model_name,
|
|
|
80 |
def generate_questions(model_name, user_level, num_questions, question_type, language, explanation_language, context,
|
81 |
learning_outcomes, mode):
|
82 |
if mode == "Reviewing" and not context.strip():
|
83 |
+
return {"error": "Với chế độ `revision`, `context` không được để trống."}
|
84 |
|
85 |
config = {
|
86 |
"model_name": model_name,
|