kirinzhu commited on
Commit
b6d2362
·
1 Parent(s): 2ff886e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -111,8 +111,8 @@ with gr.Blocks(css="#htext span {white-space: pre-line}") as demo:
111
  combine_adjacent=True,
112
  adjacent_separator=" ",
113
  )
114
- de_str_examples = gr.Examples(examples=[["Waleed Ammar, Matthew E. Peters, Chandra Bhagavat- ula, and Russell Power. 2017. The ai2 system at semeval-2017 task 10 (scienceie): semi-supervised end-to-end entity and relation extraction. In ACL workshop (SemEval)."],
115
- ["Isabelle Augenstein, Mrinal Das, Sebastian Riedel, Lakshmi Vikraman, and Andrew D. McCallum. 2017. Semeval-2017 task 10 (scienceie): Extracting keyphrases and relations from scientific publications. In ACL workshop (SemEval)."]],
116
  inputs=[de_str])
117
  with gr.Box():
118
  gr.Markdown(de_file_md)
@@ -128,7 +128,7 @@ with gr.Blocks(css="#htext span {white-space: pre-line}") as demo:
128
  combine_adjacent=True,
129
  adjacent_separator=" ",
130
  )
131
- de_file_examples = gr.Examples(examples=[["examples/N18-3011_ref.txt"],["examples/BERT_paper.pdf"]], inputs=[de_file])
132
 
133
 
134
  de_file_btn.click(
 
111
  combine_adjacent=True,
112
  adjacent_separator=" ",
113
  )
114
+ de_str_examples = gr.Examples(examples=[["The impact of gender identity on emotions was examined by researchers using a subsample from the National Longitudinal Study of Adolescent Health. The study aimed to investigate the direct effects of gender identity on emotional experiences and expression. By focusing on a subsample of the larger study, the researchers were able to hone in on the specific relationship between gender identity and emotions. Through their analysis, the researchers sought to determine whether gender identity could have a significant and direct impact on emotional well-being. The findings of the study have important implications for our understanding of the complex interplay between gender identity and emotional experiences, and may help to inform future interventions and support for individuals who experience gender-related emotional distress."],
115
+ ["The possibility of genotype-environment interaction for memory performance and change was examined in 150 monozygotic twin pairs from the Swedish Adoption Twin Study of Aging and the National Comorbidity Survey. They aimed to explore how genetic and environmental factors could interact to affect cognitive performance in aging individuals. Through their analysis, the researchers hoped to gain a better understanding of the complex interplay between nature and nurture in determining cognitive outcomes. By investigating the unique characteristics of monozygotic twins, who share identical genetic material, the study was able to isolate the role of environmental factors in shaping cognitive abilities over time. The findings from this research have important implications for our understanding of the complex interplay between genetics and the environment in shaping cognitive outcomes in aging individuals."]],
116
  inputs=[de_str])
117
  with gr.Box():
118
  gr.Markdown(de_file_md)
 
128
  combine_adjacent=True,
129
  adjacent_separator=" ",
130
  )
131
+ de_file_examples = gr.Examples(examples=[["examples/127.txt"],["examples/127.pdf"]], inputs=[de_file])
132
 
133
 
134
  de_file_btn.click(