DataMine commited on
Commit
359a92f
·
verified ·
1 Parent(s): 2b2f9d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -11,6 +11,11 @@ def predict_marks(Hours_studied, Previous_Score, Extracurriculum_Activivities, S
11
  prediction = model.predict(input_data)
12
  return round(float(prediction), 2)
13
 
 
 
 
 
 
14
  def main():
15
  # Sidebar Welcome Note with Emojis
16
 
 
11
  prediction = model.predict(input_data)
12
  return round(float(prediction), 2)
13
 
14
+ if prediction > 100:
15
+ prediction = 100
16
+
17
+ return prediction
18
+
19
  def main():
20
  # Sidebar Welcome Note with Emojis
21