Spaces:
Runtime error
Runtime error
Upload index.html
Browse files- index.html +27 -0
index.html
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Hugging Face CSV Data Cleaning Tool</title>
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
<h1>Hugging Face CSV Data Cleaning Tool</h1>
|
| 8 |
+
<form method="POST" enctype="multipart/form-data" action="/upload">
|
| 9 |
+
<input type="file" name="file">
|
| 10 |
+
<input type="submit" value="Upload and Clean">
|
| 11 |
+
</form>
|
| 12 |
+
<div>
|
| 13 |
+
{% with messages = get_flashed_messages() %}
|
| 14 |
+
{% if messages %}
|
| 15 |
+
<ul class="flashes">
|
| 16 |
+
{% for message in messages %}
|
| 17 |
+
<li>{{ message }}</li>
|
| 18 |
+
{% endfor %}
|
| 19 |
+
</ul>
|
| 20 |
+
{% endif %}
|
| 21 |
+
{% endwith %}
|
| 22 |
+
</div>
|
| 23 |
+
<div>
|
| 24 |
+
{{ data | safe }}
|
| 25 |
+
</div>
|
| 26 |
+
</body>
|
| 27 |
+
</html>
|