Update templates/machine_failure.html (#5)
Browse files- Update templates/machine_failure.html (817aea19d929bbfd1da6898d0ea3bf977a636ec3)
Co-authored-by: Pranshu Jaiswal <pranshh@users.noreply.huggingface.co>
templates/machine_failure.html
CHANGED
|
@@ -5,8 +5,7 @@
|
|
| 5 |
|
| 6 |
<div class="bg-gray-50 p-6 rounded shadow mb-6">
|
| 7 |
<h2 class="text-2xl font-semibold mb-2">Upload Machine Failure Data (CSV)</h2>
|
| 8 |
-
<form action="{{ url_for('machine_failure.
|
| 9 |
-
<input type="file" name="machine_file" accept=".csv" class="mb-4 block">
|
| 10 |
<button type="submit" class="btn-learn-more">Upload</button>
|
| 11 |
</form>
|
| 12 |
</div>
|
|
|
|
| 5 |
|
| 6 |
<div class="bg-gray-50 p-6 rounded shadow mb-6">
|
| 7 |
<h2 class="text-2xl font-semibold mb-2">Upload Machine Failure Data (CSV)</h2>
|
| 8 |
+
<form action="{{ url_for('machine_failure.upload_file_machine') }}" method="POST" enctype="multipart/form-data"> <input type="file" name="machine_file" accept=".csv" class="mb-4 block">
|
|
|
|
| 9 |
<button type="submit" class="btn-learn-more">Upload</button>
|
| 10 |
</form>
|
| 11 |
</div>
|