bestroi commited on
Commit
eb5ca81
·
1 Parent(s): 73f7ead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ if st.button("Annotate"):
49
 
50
  # Create a DataFrame from the annotated text
51
  df = pd.DataFrame(annotated_text)
52
- st.dataframe(df)
53
 
54
  if st.button("Save Modifications as JSON"):
55
  save_annotations_as_json(df.to_dict(orient='records'), 'annotations.json')
 
49
 
50
  # Create a DataFrame from the annotated text
51
  df = pd.DataFrame(annotated_text)
52
+ st.write(df)
53
 
54
  if st.button("Save Modifications as JSON"):
55
  save_annotations_as_json(df.to_dict(orient='records'), 'annotations.json')