WebashalarForML commited on
Commit
4b8de82
·
verified ·
1 Parent(s): ed26724

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -104,10 +104,10 @@
104
 
105
  <form id="fileUploadForm" action="{{ url_for('upload_file') }}" method="POST" enctype="multipart/form-data">
106
  <!-- <input type="file" name="file" class="form-control" required /> -->
107
- <input type="file" name="files" multiple class="form-control" required />
108
  <input type="submit" value="Upload your Images" class="btn btn-outline-primary" />
109
  </form>
110
- {% if session.get('uploaded_file') %}
111
  <p class="mt-4">
112
  Uploaded:
113
  <span class="text-danger">{{ session.get('uploaded_file') }}</span>
 
104
 
105
  <form id="fileUploadForm" action="{{ url_for('upload_file') }}" method="POST" enctype="multipart/form-data">
106
  <!-- <input type="file" name="file" class="form-control" required /> -->
107
+ <input type="file" name="files[]" multiple class="form-control" required />
108
  <input type="submit" value="Upload your Images" class="btn btn-outline-primary" />
109
  </form>
110
+ {% if session.get('uploaded_files') %}
111
  <p class="mt-4">
112
  Uploaded:
113
  <span class="text-danger">{{ session.get('uploaded_file') }}</span>