yabramuvdi commited on
Commit
5077be8
1 Parent(s): 8a7d133

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def predict_wfh(input_text, input_slider):
51
  return({"Not work from home": no_wfh, "Work from home": wfh}, f"Probability of WFH: {np.round(prob_wfh, 3)}")
52
 
53
 
54
- label = gr.Label(num_top_classes=1, type="confidences", label="Binary classification")
55
  text_output = gr.Textbox(label="Predicted probability")
56
 
57
  app = gr.Interface(fn=predict_wfh,
 
51
  return({"Not work from home": no_wfh, "Work from home": wfh}, f"Probability of WFH: {np.round(prob_wfh, 3)}")
52
 
53
 
54
+ label = gr.Label(num_top_classes=1, label="Binary classification")
55
  text_output = gr.Textbox(label="Predicted probability")
56
 
57
  app = gr.Interface(fn=predict_wfh,