Truong-Phuc Nguyen commited on
Commit
4c36da8
·
verified ·
1 Parent(s): 49e4d23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ st.set_page_config(page_icon='🍃', page_title='MRC for Legal Document Dataset
7
 
8
  st.markdown("<h2 style='text-align: center;'>Investigation Legal Dataset checker for Machine Reading Comprehension</h2>", unsafe_allow_html=True)
9
 
10
- df = pd.read_csv(filepath_or_buffer='./Truong-Phuc/MRC_Dataset_Checker/raw/main/Legal_AbstractiveA.csv')
11
 
12
  if 'idx' not in st.session_state:
13
  st.session_state.idx = 0
@@ -56,4 +56,4 @@ if len(df) != 0:
56
  df['question'][st.session_state.idx] = txt_question
57
  df['answer'][st.session_state.idx] = txt_answer
58
 
59
- df.to_csv(path_or_buf='./Truong-Phuc/MRC_Dataset_Checker/raw/main/Legal_AbstractiveA.csv', index=None)
 
7
 
8
  st.markdown("<h2 style='text-align: center;'>Investigation Legal Dataset checker for Machine Reading Comprehension</h2>", unsafe_allow_html=True)
9
 
10
+ df = pd.read_csv(filepath_or_buffer='./Legal_AbstractiveA.csv')
11
 
12
  if 'idx' not in st.session_state:
13
  st.session_state.idx = 0
 
56
  df['question'][st.session_state.idx] = txt_question
57
  df['answer'][st.session_state.idx] = txt_answer
58
 
59
+ df.to_csv(path_or_buf='./Legal_AbstractiveA.csv', index=None)