Commit 0bc02af7 authored by Andrew Selle's avatar Andrew Selle Committed by TensorFlower Gardener
Browse files

Fix demo app to handle some cases more properly

- Don't crash when threads are changes with a delegate. This is done by now recreating interpreter every time threads is changes.
- Don't call showToast() every updateFrame() when classifier is null. This prevents hanging and allows the proper error message to be displayed.

PiperOrigin-RevId: 229503428
parent bc4a279c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment