Mark7549 commited on
Commit
46317e3
·
1 Parent(s): edd0cd0

edited about text

Browse files
Files changed (1) hide show
  1. app.py +27 -29
app.py CHANGED
@@ -341,34 +341,6 @@ if selected == "App":
341
  """, unsafe_allow_html=True)
342
 
343
 
344
- # About tab
345
- elif active_tab == "About":
346
- st.markdown("""
347
- ## About
348
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec purus nec nunc ultricies ultricies.
349
- """)
350
-
351
-
352
- elif active_tab == "FAQ":
353
- st.markdown("""
354
- ## FAQ
355
- """)
356
-
357
- with st.expander('''**Which models is this interface based on?**'''):
358
- st.write(
359
- "This interface is based on five language models. \
360
- Language models are statistical models of language, \
361
- which store statistical information about word co-occurrence during the training phase. \
362
- During training they process a corpus of texts in the target language(s). \
363
- Once trained, models can be used to extract information about the language \
364
- (in this interface, we focus on the extraction of semantic information) or to perform specific linguistic tasks. \
365
- The models on which this interface is based are Word Embedding models."
366
- )
367
-
368
- with st.expander('''**Which corpus was used to train the models?**'''):
369
- st.write(
370
- "The five models on which this interface is based were trained on five slices of the Diorisis Ancient Greek Corpus (Vatri & McGillivray 2018)."
371
- )
372
 
373
 
374
  if selected == "About":
@@ -382,7 +354,7 @@ if selected == "About":
382
 
383
  The following people were involved in the creation of this interface:
384
 
385
- **Mark den Ouden**
386
 
387
  **Silvia Stopponi** trained the models, defined the structure of the interface, and wrote the textual content.
388
 
@@ -402,7 +374,33 @@ if selected == "About":
402
  <span style="font-style: italic;">AGALMA: Ancient Greek Accessible Language Models for linguistic Analysis.</span>
403
 
404
  """, unsafe_allow_html=True)
 
 
 
 
 
 
405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
406
  if selected == "License":
407
  st.markdown("""
408
  ## License
 
341
  """, unsafe_allow_html=True)
342
 
343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
 
345
 
346
  if selected == "About":
 
354
 
355
  The following people were involved in the creation of this interface:
356
 
357
+ **Mark den Ouden** developed the interface.
358
 
359
  **Silvia Stopponi** trained the models, defined the structure of the interface, and wrote the textual content.
360
 
 
374
  <span style="font-style: italic;">AGALMA: Ancient Greek Accessible Language Models for linguistic Analysis.</span>
375
 
376
  """, unsafe_allow_html=True)
377
+
378
+
379
+ if selected == "FAQ":
380
+ st.markdown("""
381
+ ## FAQ
382
+ """)
383
 
384
+
385
+
386
+ local_css("style.css")
387
+ with st.expander(r"$\textsf{\Large Which models is this interface based on?}$"):
388
+ st.write(
389
+ "This interface is based on five language models. \
390
+ Language models are statistical models of language, \
391
+ which store statistical information about word co-occurrence during the training phase. \
392
+ During training they process a corpus of texts in the target language(s). \
393
+ Once trained, models can be used to extract information about the language \
394
+ (in this interface, we focus on the extraction of semantic information) or to perform specific linguistic tasks. \
395
+ The models on which this interface is based are Word Embedding models."
396
+ )
397
+
398
+ with st.expander(r"$\textsf{\Large Which corpus was used to train the models?}$"):
399
+ st.write(
400
+ "The five models on which this interface is based were trained on five slices of the Diorisis Ancient Greek Corpus (Vatri & McGillivray 2018)."
401
+ )
402
+
403
+
404
  if selected == "License":
405
  st.markdown("""
406
  ## License