rohansampath commited on
Commit
e2aa1de
·
verified ·
1 Parent(s): df31ae3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -70,6 +70,10 @@ def run_mmlu_evaluation(all_subjects, num_subjects, num_shots, num_examples):
70
  num_shots (int): Number of few-shot examples (0-5)
71
  num_examples (int): Number of examples per subject (1-10 or -1 for all)
72
  """
 
 
 
 
73
  if not model_loaded:
74
  return "⚠️ Model not loaded. Please load the model first."
75
 
 
70
  num_shots (int): Number of few-shot examples (0-5)
71
  num_examples (int): Number of examples per subject (1-10 or -1 for all)
72
  """
73
+
74
+ if not model_loaded:
75
+ load_model()
76
+
77
  if not model_loaded:
78
  return "⚠️ Model not loaded. Please load the model first."
79