Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,9 +114,9 @@ if text_input:
|
|
| 114 |
|
| 115 |
# Pass the final_text to the annotated_text function
|
| 116 |
annotated_text(*final_text)
|
| 117 |
-
|
| 118 |
-
with st.expander("Copy the JSON-LD"):
|
| 119 |
-
st.write(json.dumps(json_ld_data, indent=2)) # Output JSON-LD
|
| 120 |
|
| 121 |
with st.expander("See annotations"):
|
| 122 |
-
st.write(combined_entity_info_dictionary)
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
# Pass the final_text to the annotated_text function
|
| 116 |
annotated_text(*final_text)
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
with st.expander("See annotations"):
|
| 119 |
+
st.write(combined_entity_info_dictionary)
|
| 120 |
+
|
| 121 |
+
with st.expander("Here is the final JSON-LD"):
|
| 122 |
+
st.json(json_ld_data) # Output JSON-LD
|