Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,8 @@ st.header("Intelligent Document Automation")
|
|
102 |
|
103 |
with st.sidebar:
|
104 |
selected_menu = option_menu("Select Option",
|
105 |
-
["Upload Document", "Extract Text", "Summarize Document", "Extract Entities","Detected Barriers","Get Answers","Annotation Tool"
|
|
|
106 |
menu_icon="cast", default_index=0)
|
107 |
|
108 |
|
@@ -199,4 +200,6 @@ elif selected_menu == "Annotation Tool":
|
|
199 |
st.subheader("Edit Mode:")
|
200 |
data = text_annotation(editable_data)
|
201 |
if data:
|
202 |
-
"Returned data:", data
|
|
|
|
|
|
102 |
|
103 |
with st.sidebar:
|
104 |
selected_menu = option_menu("Select Option",
|
105 |
+
["Upload Document", "Extract Text", "Summarize Document", "Extract Entities","Detected Barriers","Get Answers","Annotation Tool",
|
106 |
+
"Claim Journey"],
|
107 |
menu_icon="cast", default_index=0)
|
108 |
|
109 |
|
|
|
200 |
st.subheader("Edit Mode:")
|
201 |
data = text_annotation(editable_data)
|
202 |
if data:
|
203 |
+
"Returned data:", data
|
204 |
+
elif selected_menu == "Claim Journey":
|
205 |
+
claim_number = st.text_input("Enter the Claim Number")
|