File size: 1,216 Bytes
fa53be0
 
 
 
 
4faaa69
fa53be0
 
 
4faaa69
fa53be0
 
 
 
 
3bed294
fa53be0
fafbcc3
fa53be0
 
fafbcc3
fa53be0
4faaa69
fa53be0
fafbcc3
fa53be0
4faaa69
fa53be0
 
 
 
fafbcc3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!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>