QL2023 commited on
Commit
48b930a
·
verified ·
1 Parent(s): e277616

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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