Wizmik12 commited on
Commit
294be51
1 Parent(s): afe2b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -75,13 +75,19 @@ def translate_es_inclusivo(exclusive_text):
75
  return inclusive_text
76
 
77
 
 
 
 
 
 
78
 
79
  iface = gr.Interface(
80
  fn=translate_es_inclusivo,
81
  inputs="text",
82
  outputs="text",
83
- title="ES Inclusive Language",
84
  description="Enter a Spanish phrase and get it converted into neutral/inclusive form.",
85
- examples = mis_ejemplos
 
86
  )
87
  demo.launch()
 
75
  return inclusive_text
76
 
77
 
78
+ # <-- set article variable -->
79
+ article = "- **Motivation:** Languages are powerful tools to communicate ideas, but their use is not impartial. The selection of words carries inherent biases and reflects subjective perspectives. In some cases, language is wielded to enforce ideologies, \
80
+ th purpose of this app is to automatically translate Spanish phrases into neutral/inclusive phrases, while mantaining grammar correctness and consistency." \
81
+ "- **Team Members: ** Gaia Quintana Fleitas (gaiaq), Andrés Martínez Fernández-Salguero (andresmfs), Imanuel Rozenberg (manu_20392), Miguel López (wizmik12), Josué Sauca (josue_sauca). " \
82
+ "- **Social Impact:** An inclusive translator holds significant social impact by promoting equity and representation within texts. By rectifying biases ingrained in language and fostering inclusivity, it combats discrimination, amplifies the visibility of marginalized groups, and contributes to the cultivation of a more inclusive and respectful society."
83
 
84
  iface = gr.Interface(
85
  fn=translate_es_inclusivo,
86
  inputs="text",
87
  outputs="text",
88
+ title="ES Inclusive Language (Hackathon SomosNLP '24)",
89
  description="Enter a Spanish phrase and get it converted into neutral/inclusive form.",
90
+ examples = mis_ejemplos,
91
+ article = article
92
  )
93
  demo.launch()