Spaces:
Running
Running
Update
Browse files
app.py
CHANGED
|
@@ -100,14 +100,14 @@ def main():
|
|
| 100 |
gr.Interface(
|
| 101 |
func,
|
| 102 |
[
|
| 103 |
-
gr.
|
| 104 |
-
gr.
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
],
|
| 110 |
-
gr.
|
| 111 |
examples=examples,
|
| 112 |
title=TITLE,
|
| 113 |
description=DESCRIPTION,
|
|
|
|
| 100 |
gr.Interface(
|
| 101 |
func,
|
| 102 |
[
|
| 103 |
+
gr.Image(type='pil', label='Input'),
|
| 104 |
+
gr.Slider(0,
|
| 105 |
+
1,
|
| 106 |
+
step=args.score_slider_step,
|
| 107 |
+
default=args.score_threshold,
|
| 108 |
+
label='Score Threshold'),
|
| 109 |
],
|
| 110 |
+
gr.Label(label='Output'),
|
| 111 |
examples=examples,
|
| 112 |
title=TITLE,
|
| 113 |
description=DESCRIPTION,
|