output image
Browse files
app.py
CHANGED
@@ -105,8 +105,8 @@ demo = gr.Interface(
|
|
105 |
# gr.Radio(["center", "squash", "border"], value='center', label='crop_mode'), gr.Slider(0.7, 1, value=0.9, step=0.01)],
|
106 |
inputs=["image", "text", "checkbox", gr.Slider(0, 1, value=0.25),
|
107 |
gr.Radio(["center", "squash", "border"], value='center', label='crop_mode'), gr.Slider(0.7, 1, value=0.9, step=0.01)],
|
108 |
-
|
109 |
-
outputs=gr.Image(type='numpy', label='output').style(height=600, width=600),
|
110 |
title="Text-Based Object Detection",
|
111 |
description=description,
|
112 |
examples=[
|
|
|
105 |
# gr.Radio(["center", "squash", "border"], value='center', label='crop_mode'), gr.Slider(0.7, 1, value=0.9, step=0.01)],
|
106 |
inputs=["image", "text", "checkbox", gr.Slider(0, 1, value=0.25),
|
107 |
gr.Radio(["center", "squash", "border"], value='center', label='crop_mode'), gr.Slider(0.7, 1, value=0.9, step=0.01)],
|
108 |
+
outputs="image",
|
109 |
+
#outputs=gr.Image(type='numpy', label='output').style(height=600, width=600),
|
110 |
title="Text-Based Object Detection",
|
111 |
description=description,
|
112 |
examples=[
|