Spaces:
Runtime error
Runtime error
yabramuvdi
commited on
Commit
•
db62944
1
Parent(s):
5077be8
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ 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,
|
58 |
-
inputs=[gr.Textbox(lines=10, label="Input text"), gr.Slider(0, 1, 0.001, label="Classification threshold"
|
59 |
outputs=[label, text_output],
|
60 |
theme="huggingface",
|
61 |
title=title,
|
|
|
55 |
text_output = gr.Textbox(label="Predicted probability")
|
56 |
|
57 |
app = gr.Interface(fn=predict_wfh,
|
58 |
+
inputs=[gr.Textbox(lines=10, label="Input text"), gr.Slider(0, 1, 0.001, label="Classification threshold")],
|
59 |
outputs=[label, text_output],
|
60 |
theme="huggingface",
|
61 |
title=title,
|