Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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')
|