Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,8 @@ def generate_prompt(ini_prompt,no_login,low_activity,repeated_course,low_marks,W
|
|
| 37 |
body = ini_prompt
|
| 38 |
|
| 39 |
data = f"Here are the indicators for the student:\n No Moodle Login: {no_login}\n Low Moodle Activity: {low_activity}\n Student is repeating this course: {repeated_course}\n Student has low marks: {low_marks}\n Student's WAM across all courses: {WAM}\n"
|
|
|
|
|
|
|
| 40 |
|
| 41 |
return text
|
| 42 |
|
|
|
|
| 37 |
body = ini_prompt
|
| 38 |
|
| 39 |
data = f"Here are the indicators for the student:\n No Moodle Login: {no_login}\n Low Moodle Activity: {low_activity}\n Student is repeating this course: {repeated_course}\n Student has low marks: {low_marks}\n Student's WAM across all courses: {WAM}\n"
|
| 40 |
+
|
| 41 |
+
text = body + "\n\n" + data
|
| 42 |
|
| 43 |
return text
|
| 44 |
|