Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,11 +34,11 @@ def predict_jamb(study_hours, attendance, teacher_quality, distance,
|
|
| 34 |
prediction = model.predict(input_data)[0]
|
| 35 |
|
| 36 |
if prediction == 0:
|
| 37 |
-
return "
|
| 38 |
elif prediction == 1:
|
| 39 |
-
return "
|
| 40 |
else:
|
| 41 |
-
return "
|
| 42 |
|
| 43 |
# Gradio interface
|
| 44 |
with gr.Blocks() as demo:
|
|
|
|
| 34 |
prediction = model.predict(input_data)[0]
|
| 35 |
|
| 36 |
if prediction == 0:
|
| 37 |
+
return "Below Average"
|
| 38 |
elif prediction == 1:
|
| 39 |
+
return "Average"
|
| 40 |
else:
|
| 41 |
+
return "Pass"
|
| 42 |
|
| 43 |
# Gradio interface
|
| 44 |
with gr.Blocks() as demo:
|