Update app.py
Browse files
app.py
CHANGED
|
@@ -94,8 +94,8 @@ iface = gr.Interface(
|
|
| 94 |
fn=predict_wrapper,
|
| 95 |
inputs=[gr.components.Image(type="pil"), gr.components.Slider(minimum=0.0, maximum=1.0, value=0.5, label="Threshold")],
|
| 96 |
outputs=[
|
| 97 |
-
gr.components.
|
| 98 |
-
gr.components.
|
| 99 |
],
|
| 100 |
title=title,
|
| 101 |
description=description,
|
|
|
|
| 94 |
fn=predict_wrapper,
|
| 95 |
inputs=[gr.components.Image(type="pil"), gr.components.Slider(minimum=0.0, maximum=1.0, value=0.5, label="Threshold")],
|
| 96 |
outputs=[
|
| 97 |
+
gr.components.Textbox(label="Fixed Threshold Predictions"),
|
| 98 |
+
gr.components.Label(label="Slider Threshold Predictions")
|
| 99 |
],
|
| 100 |
title=title,
|
| 101 |
description=description,
|