Conversation
| import cv2 | ||
| import gradio as gr | ||
| import tempfile | ||
|
|
There was a problem hiding this comment.
Just removes some unused imports I noticed
|
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2478-all-demos |
|
Nice @abidlabs I'm seeing a console error on the demo, even though it runs as expected Also, consider adding the demo to the docstrings where applicable (maybe at blocks?) or to the demos page. Otherwise LGTM |
|
Thanks for the review @aliabd! Will address these |
freddyaboulton
left a comment
There was a problem hiding this comment.
Looks good to me @abidlabs!
|
works for me. nice demo! |
|
Thanks for the review folks! @aliabd I believe the JS error is happening because this event trigger doesn't have any inputs or outputs. Gonna leave that for a future PR but I've gone ahead and added this demo the |
Adds a demo (
sound_alert.py) to show how a sound alert can be played when a prediction is complete.CLoses: #2173