ivyblossom commited on
Commit
92bd63a
1 Parent(s): 75c6f14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -42,6 +42,9 @@ def main():
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)
47
 
 
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)
50