Write choose_mode(user_waiting) that returns "realtime" when a user
is waiting on the prediction, and "batch" when nothing is waiting.
Write choose_mode(user_waiting) that returns "realtime" when a user
is waiting on the prediction, and "batch" when nothing is waiting.