nukimayasari commited on
Commit
df999d6
1 Parent(s): 683a1c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
- import joblib
3
 
4
  # Load your trained model
5
- model = joblib.load("path_to_your_model.pkl")
 
6
 
7
  # Define prediction function
8
  def predict_performance(Gender, AttendanceRate, StudyHoursPerWeek, PreviousGrade, ExtracurricularActivities, ParentalSupport):
 
1
  import gradio as gr
2
+ from tensorflow.keras.models import load_model
3
 
4
  # Load your trained model
5
+ model = load_model("student_performance_model.h5")
6
+
7
 
8
  # Define prediction function
9
  def predict_performance(Gender, AttendanceRate, StudyHoursPerWeek, PreviousGrade, ExtracurricularActivities, ParentalSupport):