Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -249,7 +249,8 @@ demo = gr.Interface(
|
|
249 |
gr.Slider(label="Minimum Detection Confidence", minimum=0, maximum=1, step=0.05, value=0.5),
|
250 |
gr.Radio(label="Background Color", choices=background_colors, type="value", value=background_colors[0]),
|
251 |
],
|
252 |
-
|
|
|
253 |
examples=examples,
|
254 |
title=TITLE,
|
255 |
description=DESCRIPTION,
|
|
|
249 |
gr.Slider(label="Minimum Detection Confidence", minimum=0, maximum=1, step=0.05, value=0.5),
|
250 |
gr.Radio(label="Background Color", choices=background_colors, type="value", value=background_colors[0]),
|
251 |
],
|
252 |
+
|
253 |
+
outputs=[gr.Image(label="Output"),gr.Textbox(label="Output Text")],
|
254 |
examples=examples,
|
255 |
title=TITLE,
|
256 |
description=DESCRIPTION,
|