Spaces:
Sleeping
Sleeping
Fix 'Dataset' object has no attribute 'components'. Did you mean: '_components'
Browse files
app.py
CHANGED
|
@@ -79,6 +79,6 @@ with gr.Blocks() as poster2plot:
|
|
| 79 |
gr.Markdown("Made by: [dk-crazydiv](https://twitter.com/kartik_godawat) and [dsr](https://twitter.com/dsr_ai)")
|
| 80 |
|
| 81 |
submit_button.click(fn=predict, inputs=[input_image], outputs=[plot])
|
| 82 |
-
example_images.click(fn=set_example_image, inputs=[example_images], outputs=
|
| 83 |
|
| 84 |
poster2plot.launch()
|
|
|
|
| 79 |
gr.Markdown("Made by: [dk-crazydiv](https://twitter.com/kartik_godawat) and [dsr](https://twitter.com/dsr_ai)")
|
| 80 |
|
| 81 |
submit_button.click(fn=predict, inputs=[input_image], outputs=[plot])
|
| 82 |
+
example_images.click(fn=set_example_image, inputs=[example_images], outputs=[input_image])
|
| 83 |
|
| 84 |
poster2plot.launch()
|