yabramuvdi commited on
Commit
71cdfa7
1 Parent(s): 2e4e6aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def predict_wfh(input_text, input_slider):
52
 
53
 
54
  label = gr.outputs.Label(num_top_classes=1, type="confidences", label="Binary classification")
55
- text_output = gr.outputs.Textbox(type="auto", label="Predicted probability")
56
 
57
  app = gr.Interface(fn=[predict_wfh],
58
  inputs=[gr.inputs.Textbox(lines=10, label="Input text"), gr.inputs.Slider(0, 1, 0.001, label="Classification threshold", default=0.5)],
 
52
 
53
 
54
  label = gr.outputs.Label(num_top_classes=1, type="confidences", label="Binary classification")
55
+ text_output = gr.outputs.Textbox(label="Predicted probability")
56
 
57
  app = gr.Interface(fn=[predict_wfh],
58
  inputs=[gr.inputs.Textbox(lines=10, label="Input text"), gr.inputs.Slider(0, 1, 0.001, label="Classification threshold", default=0.5)],