App interface page design

A simple mobile app interface can be designed using Android Studio, and the relevant code will be generated as an XML file. As you can see in the following screenshot (Figure 7.3), the app consists of a simple movie review textbox, where the users can input their movie reviews, and, once done, press the SUBMIT button. Once the SUBMIT button is pressed, the review will be passed to the core app logic, which will process the movie review text and pass it to the TensorFlow optimized model for inference.

As a part of the inference, a sentiment score will be computed, which will be displayed on the mobile app and also showcased as a star rating:

Figure 7.3: Mobile app user interface page format

The XML file required ...

Get Intelligent Projects Using Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.