Jacobo commited on
Commit
0e0be88
1 Parent(s): b0778b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,8 +8,6 @@ from spacy_streamlit import visualize_tokens
8
  import base64
9
  from PIL import Image
10
  import deplacy
11
- #import graphviz
12
-
13
 
14
 
15
 
@@ -23,7 +21,7 @@ st.title("Diogenet's Ancient Greek Syntax Analyzer")
23
  st.markdown("Welcome to our analyzer. Here you can parse the parts of speech (POS) and the syntactic relationships of any ancient Greek sentence. This analysis is done by our two AI models trained with transformers and the NLP library spaCy. Below, you can choose which model do you want to use (each model may produce a different analysis). Documentation about the linguistic terms used by our models to annotate your sentences can be found here. If you have any questions, please contact us at mailto:diogenet@ucsd.edu")
24
 
25
  st.header("Select a model:")
26
- spacy_model = st.selectbox("", ["grc_ud_perseus_lg_et","grc_ud_perseus_trf"])
27
 
28
  st.header("Enter text:")
29
  text = st.text_area("", "Πλάτων ὁ Περικτιόνης τὸ γένος ἀνέφερεν εἰς Σόλωνα.")
8
  import base64
9
  from PIL import Image
10
  import deplacy
 
 
11
 
12
 
13
 
21
  st.markdown("Welcome to our analyzer. Here you can parse the parts of speech (POS) and the syntactic relationships of any ancient Greek sentence. This analysis is done by our two AI models trained with transformers and the NLP library spaCy. Below, you can choose which model do you want to use (each model may produce a different analysis). Documentation about the linguistic terms used by our models to annotate your sentences can be found here. If you have any questions, please contact us at mailto:diogenet@ucsd.edu")
22
 
23
  st.header("Select a model:")
24
+ spacy_model = st.selectbox("", ["grc_ud_perseus_lg_et","grc_ud_perseus_dioberto"])
25
 
26
  st.header("Enter text:")
27
  text = st.text_area("", "Πλάτων ὁ Περικτιόνης τὸ γένος ἀνέφερεν εἰς Σόλωνα.")