harshiv commited on
Commit
23d53ad
1 Parent(s): 59689f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -51,10 +51,10 @@ def predict_placement(option, degree_p, internship, DSA, java, management,
51
  else:
52
  return "Invalid option"
53
 
54
- if prediction == 1:
55
- return f"Placed\nYou will be placed with a probability of {probability:.2f}"
56
- else:
57
- return "Not Placed"
58
 
59
 
60
  # Create Gradio interface
 
51
  else:
52
  return "Invalid option"
53
 
54
+ if prediction == 1:
55
+ return f"Placed\nYou will be placed with a probability of {probability:.2f}"
56
+ else:
57
+ return f"Placed\nYou will be placed with a probability of {probability:.2f}"
58
 
59
 
60
  # Create Gradio interface