import tensorflow as tf

        start_string = request.data.decode().lower()
        n_words = 5
        hidden = [tf.zeros((1, units))]

        for i in range(n_words):
            start_words = start_string.split()
            input_eval = [word2idx[i] for i in start_words]
            input_eval = tf.expand_dims(input_eval, 0)

            predictions, hidden = model(input_eval, hidden)

            predicted_id = tf.argmax(predictions[-1]).numpy()

            start_string += " " + idx2word[predicted_id]
