luulinh90s's picture
update
4faaa69
raw
history blame
1.22 kB
<!DOCTYPE html>
<html>
<head>
<title>Experiment</title>
<style>
/* ... (keep existing styles) ... */
</style>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<script>
// ... (keep existing script) ...
</script>
</head>
<body>
<div class="container">
<h1>{{ sample_id + 1 }} / 10</h1>
<p><strong>Task description:</strong> {{ statement }}</p>
<div class="visualization-container">
<iframe src="{{ visualization }}"></iframe>
</div>
<div class="buttons">
<form action="{{ url_for('feedback') }}" method="post" style="width: 48%;">
<input type="hidden" name="username" value="{{ username }}">
<button type="submit" name="prediction" value="TRUE">Predict TRUE</button>
</form>
<form action="{{ url_for('feedback') }}" method="post" style="width: 48%;">
<input type="hidden" name="username" value="{{ username }}">
<button type="submit" name="prediction" value="FALSE" class="reject">Predict FALSE</button>
</form>
</div>
</div>
</body>
</html>