Spaces:
Runtime error
Runtime error
ganesh3343g
commited on
Commit
•
6b00b77
1
Parent(s):
39428ef
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import numpy as np
|
5 |
|
6 |
with open('logreg_model.pkl', "rb") as file:
|
7 |
-
|
8 |
|
9 |
def predict_admission(gre_score, toefl_score, university_rating, sop, lor, cgpa, research, threshold=0.5):
|
10 |
# Convert 'Yes'/'No' to 1/0 for the 'Research' field
|
|
|
4 |
import numpy as np
|
5 |
|
6 |
with open('logreg_model.pkl', "rb") as file:
|
7 |
+
model = pickle.load(file)
|
8 |
|
9 |
def predict_admission(gre_score, toefl_score, university_rating, sop, lor, cgpa, research, threshold=0.5):
|
10 |
# Convert 'Yes'/'No' to 1/0 for the 'Research' field
|