Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,10 +17,11 @@ def main():
|
|
17 |
st.title('Entity Extraction')
|
18 |
|
19 |
menu = ["Home","NER"]
|
|
|
20 |
|
21 |
if choice == "Home":
|
22 |
st.subheader("Tokenization")
|
23 |
-
|
24 |
raw_text = st.text_area("Your Text","Enter the Text Here")
|
25 |
docx = nlp(raw_text)
|
26 |
if st.button("Tokenize"):
|
|
|
17 |
st.title('Entity Extraction')
|
18 |
|
19 |
menu = ["Home","NER"]
|
20 |
+
choice = st.sidebar.selectbox("Menu", menu)
|
21 |
|
22 |
if choice == "Home":
|
23 |
st.subheader("Tokenization")
|
24 |
+
|
25 |
raw_text = st.text_area("Your Text","Enter the Text Here")
|
26 |
docx = nlp(raw_text)
|
27 |
if st.button("Tokenize"):
|