taesiri commited on
Commit
8eb82d3
·
1 Parent(s): cbd88cd

Updated gradio output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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="plot",
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()