Spaces:
Running
Running
Commit
·
8d0f5dc
1
Parent(s):
d854c4f
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ label = gr.outputs.Label(num_top_classes=1, type="confidences", label="Binary cl
|
|
45 |
text_output = gr.outputs.Textbox(type="auto", label="Predicted probability")
|
46 |
|
47 |
app = gr.Interface(fn=[predict_wfh],
|
48 |
-
inputs=[gr.inputs.Textbox(lines=10, label="Input text"), gr.inputs.Slider(0, 1, 0.001, label="Classification threshold")],
|
49 |
outputs=[label, text_output],
|
50 |
theme="huggingface",
|
51 |
title=title,
|
|
|
45 |
text_output = gr.outputs.Textbox(type="auto", label="Predicted probability")
|
46 |
|
47 |
app = gr.Interface(fn=[predict_wfh],
|
48 |
+
inputs=[gr.inputs.Textbox(lines=10, label="Input text"), gr.inputs.Slider(0, 1, 0.001, label="Classification threshold", default=0.998)],
|
49 |
outputs=[label, text_output],
|
50 |
theme="huggingface",
|
51 |
title=title,
|