File size: 1,062 Bytes
21c2ea0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends 'base.html' %} {% block body %} {% include "nav_bar.html" %}
<style>
    /* Custom CSS background color*/
    body {
      background-image: linear-gradient(to right, #75ee71c7, #eceb84);
    }
  </style>
  
  <div
    class="d-flex justify-content-center align-items-center"
    style="min-height: 100vh"
  >
    <div class="container crop-image">
      <div class="row">
        <h2 class="text-center">Crop Recommendation</h2>
        <div class="col-md-6">
          <img
            src="data:image/jpeg;base64,{{ image_data_base64 }}"
            alt="Image"
  
          />
        </div>
        <div
          class="col-md-6 text d-flex flex-column justify-content-center align-items-center"
        >
          <h1 class="text-center">{{input_file_name.capitalize()}}</h1>
          <p class="text-center">{{crop_details}}</p>
        </div>
      </div>
      <a href="{{url_for('crop_recommendation')}}" class="btn btn-primary" role="button"
      >Check with Different Values</a
    >
  </div>
    </div>
  </div>
  <div>

{% endblock %}