Spaces:
Build error
Build error
Updated gradio output
Browse files
app.py
CHANGED
@@ -204,11 +204,12 @@ iface = gr.Interface(
|
|
204 |
gr.inputs.Slider(minimum=1, maximum=240, step=1, default=15, label="Min Y"),
|
205 |
gr.inputs.Slider(minimum=1, maximum=240, step=1, default=215, label="Max Y"),
|
206 |
],
|
207 |
-
outputs="
|
208 |
enable_queue=True,
|
209 |
title=title,
|
210 |
description=description,
|
211 |
article=article,
|
212 |
examples=[["sample1.jpeg", "sample2.jpeg", 15, 215, 15, 215]],
|
213 |
)
|
|
|
214 |
iface.launch()
|
|
|
204 |
gr.inputs.Slider(minimum=1, maximum=240, step=1, default=15, label="Min Y"),
|
205 |
gr.inputs.Slider(minimum=1, maximum=240, step=1, default=215, label="Max Y"),
|
206 |
],
|
207 |
+
outputs=[gr.outputs.Plot(type="Matplotlib")],
|
208 |
enable_queue=True,
|
209 |
title=title,
|
210 |
description=description,
|
211 |
article=article,
|
212 |
examples=[["sample1.jpeg", "sample2.jpeg", 15, 215, 15, 215]],
|
213 |
)
|
214 |
+
|
215 |
iface.launch()
|