   <div>
      <button id="predict">Predict</button>
    </div>
    <div>
      <p id="result">Predict result...</p>
    </div>
  </form>
  <script>
    $(document).ready(function () {
      document.getElementById('input_text').focus();
      $('#predict').click(function (event) {
        event.preventDefault();
        var input = document.getElementById('input_text').value;
        $.get({
          url: 'predict?input=' + input,
          cache: false,
          contentType: false,
          processData