al-tools / templates /upload.html
spdin
update
1a82bcb
<!DOCTYPE html>
<html>
<head>
<title>Active Learning POC</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/styles.css') }}">
<style>
input[type=file] {
width: 350px;
max-width: 100%;
color: #444;
padding: 5px;
background: #fff;
border-radius: 10px;
border: 1px solid #555;
}
input[type=number] {
width: 100px;
max-width: 100%;
color: #444;
padding: 5px;
background: #fff;
border-radius: 10px;
border: 1px solid #555;
}
</style>
</head>
<body>
<h1>Active Learning POC</h1>
<form method="POST" enctype="multipart/form-data">
<h3>Upload Data File (CSV)</h3>
<input type="file" name="data_file" accept=".csv" required>
<h3>Upload Labels File (CSV)</h3>
<input type="file" name="labels_file" accept=".csv" required>
<table style="border-style: hidden">
<tr>
<td style="width: 200px;">
Active Learning Sample
</td>
<td><input type="number" name="query_number" required></td>
</tr>
</table>
<button type="submit">Start Labeling</button>
</form>
</body>
</html>