WebashalarForML
commited on
Update templates/index.html
Browse files- 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('
|
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>
|