Spaces:
Running
Running
ivyblossom
commited on
Commit
•
297e758
1
Parent(s):
92bd63a
Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,6 @@ def main():
|
|
41 |
table_data = [["Question", "Answer", "Score"]]
|
42 |
for i, (question, answer) in enumerate(zip(questions, answers)):
|
43 |
table_data.append([f"{i + 1}: '{question}'", answer['answer'], f"{answer['score']:.2f}"])
|
44 |
-
|
45 |
-
# Remove the first row (header) from the table_data
|
46 |
-
table_data.pop(0)
|
47 |
|
48 |
st.write("Questions and Answers:")
|
49 |
st.table(table_data)
|
|
|
41 |
table_data = [["Question", "Answer", "Score"]]
|
42 |
for i, (question, answer) in enumerate(zip(questions, answers)):
|
43 |
table_data.append([f"{i + 1}: '{question}'", answer['answer'], f"{answer['score']:.2f}"])
|
|
|
|
|
|
|
44 |
|
45 |
st.write("Questions and Answers:")
|
46 |
st.table(table_data)
|