Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,8 @@ def save_annotations_as_json(annotated_text, filename):
|
|
35 |
with open(filename, 'w', encoding='utf-8') as json_file:
|
36 |
json.dump(annotated_text, json_file, ensure_ascii=False, indent=4)
|
37 |
|
|
|
|
|
38 |
st.title("Annotation Tool")
|
39 |
text = st.text_area("Text")
|
40 |
if st.button("Annotate"):
|
|
|
35 |
with open(filename, 'w', encoding='utf-8') as json_file:
|
36 |
json.dump(annotated_text, json_file, ensure_ascii=False, indent=4)
|
37 |
|
38 |
+
|
39 |
+
st.set_page_config(layout="wide")
|
40 |
st.title("Annotation Tool")
|
41 |
text = st.text_area("Text")
|
42 |
if st.button("Annotate"):
|