Commit
·
f4ba3a7
1
Parent(s):
5ed21de
update
Browse files- app.py +1 -3
- templates/experiment.html +6 -2
app.py
CHANGED
|
@@ -225,9 +225,7 @@ def experiment(session_id):
|
|
| 225 |
visualization_path = f"{visualization_dir}/{sample['category']}/{sample['file']}"
|
| 226 |
|
| 227 |
statement = """
|
| 228 |
-
Please note that in select row function, starting index is 0 for Chain-of-Table and 1 for Dater and Index * represents the selection
|
| 229 |
-
Based on the explanation provided, what do you think the AI model will predict?
|
| 230 |
-
Will it predict the statement as correct or wrong?
|
| 231 |
"""
|
| 232 |
|
| 233 |
return render_template('experiment.html',
|
|
|
|
| 225 |
visualization_path = f"{visualization_dir}/{sample['category']}/{sample['file']}"
|
| 226 |
|
| 227 |
statement = """
|
| 228 |
+
Please note that in select row function, starting index is 0 for Chain-of-Table and 1 for Dater and Index * represents the selection for all rows.
|
|
|
|
|
|
|
| 229 |
"""
|
| 230 |
|
| 231 |
return render_template('experiment.html',
|
templates/experiment.html
CHANGED
|
@@ -33,7 +33,11 @@
|
|
| 33 |
.highlight {
|
| 34 |
font-size: 1.1em;
|
| 35 |
font-weight: bold;
|
| 36 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
margin-top: 5px;
|
| 38 |
}
|
| 39 |
.visualization-container {
|
|
@@ -120,7 +124,7 @@
|
|
| 120 |
<iframe src="{{ visualization }}"></iframe>
|
| 121 |
</div>
|
| 122 |
<div class="bottom-question">
|
| 123 |
-
<
|
| 124 |
</div>
|
| 125 |
<div class="buttons">
|
| 126 |
<form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
|
|
|
|
| 33 |
.highlight {
|
| 34 |
font-size: 1.1em;
|
| 35 |
font-weight: bold;
|
| 36 |
+
color: #0056b3;
|
| 37 |
+
background-color: #e6e6e6;
|
| 38 |
+
padding: 5px 10px;
|
| 39 |
+
border-radius: 4px;
|
| 40 |
+
display: inline-block;
|
| 41 |
margin-top: 5px;
|
| 42 |
}
|
| 43 |
.visualization-container {
|
|
|
|
| 124 |
<iframe src="{{ visualization }}"></iframe>
|
| 125 |
</div>
|
| 126 |
<div class="bottom-question">
|
| 127 |
+
<h1>Will the model predict the statement as Correct or Wrong based on the provided explanation?</h1>
|
| 128 |
</div>
|
| 129 |
<div class="buttons">
|
| 130 |
<form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
|