This example uses an RNN to compute (in a worker thread) the addition of two integers by doing string => string translation. Obviously it's not the best way to add two numbers, but it makes a fun example. In this way, we can do long-running computation without blocking the UI thread.
Note: This example is based on the addition-rnn example in this repo, which is based on the original Keras python code here