select_files.html 1.1 KB

123456789101112131415161718192021222324252627282930
  1. {% extends "layout.html" %}
  2. {% block body %}
  3. <form action="{{ url_for('predict') }}" method="POST"
  4. enctype="multipart/form-data">
  5. <div class="form-group">
  6. <label for="model">Select Model To Use:</label>
  7. <select class="form-control" name="model" id="model">
  8. <option value="inception">Inception V3</option>
  9. <option value="resnet">Resnet50 (using bottleneck features as
  10. input)</option>
  11. </select>
  12. <label for="fileupload">Select Files:</label>
  13. <input type="file" name="file[]" multiple="" id='fileupload'>
  14. <p class="help-block">Image types only. Image will be converted to
  15. proper shape.<br/>Also allow for time for image upload and predictions.
  16. </p>
  17. </br></br>
  18. <label class="btn btn-primary">
  19. Submit <input type="submit" value="Upload" style="display:
  20. none;">
  21. </label>
  22. </div>
  23. </form>
  24. {% endblock %}
  25. {% block nav_buttons %}
  26. <a class="btn btn-default navbar-btn" href='{{ url_for('index')}}'>Start Over</a>
  27. {% endblock %}