In the Python demo, the argument -device can only take AUTO because of the previous bug inside of the async_pipeline.py script. Updated the script so it can handle the device configuration correctly.
3936 introduced a bug. config is initialized as an empty dict and then 'device' is used as a key to reference the empty dictionary and causes error. This is trying to fix this bug.
In the Python demo, the argument -device can only take AUTO because of the previous bug inside of the async_pipeline.py script. Updated the script so it can handle the device configuration correctly.