Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "base.html" %}
- {% block content %}
- <div class="col-md-4 col-lg-offset-4">
- {% if result == "CACTUS" %}
- <h4 style="color:green;">The image uploaded has a cactus plant</h1>
- {% elif result == "NOT CACTUS" %}
- <h4 style="color:red;">The image uploaded does not have a cactus plant</h1>
- {% endif %}
- </div>
- <div class="col-md-4 col-lg-offset-4">
- <img src="data:image/jpg;base64, {{encoded_photo | safe}}" width="50%">
- </div>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement