reshinthadith commited on
Commit
b8dbcb9
·
1 Parent(s): 5fa5e9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from datasets import load_dataset
3
 
4
  dataset = load_dataset("reshinthadith/pairwise-code-review-instruct-critique-revision-python")
5
- total_length = len(dataset)
6
 
7
  st.title('Pairwise Comparison')
8
  with st.form("dataset_form"):
 
2
  from datasets import load_dataset
3
 
4
  dataset = load_dataset("reshinthadith/pairwise-code-review-instruct-critique-revision-python")
5
+ total_length = len(dataset["train"])
6
 
7
  st.title('Pairwise Comparison')
8
  with st.form("dataset_form"):