davanstrien HF staff commited on
Commit
e4025d4
1 Parent(s): 62e4274

add banner to demo

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -72,12 +72,15 @@ def translate(text: str, src_lang: str, tgt_lang: str):
72
 
73
 
74
  description = """
75
- # UNESCO Language Translator, powered by Meta and Hugging Face
 
 
 
76
 
77
  UNESCO, Meta, and Hugging Face have come together to create an accessible, high-quality translation experience in 200 languages.
78
 
79
- This is made possible through an open approach to AI innovation using Meta's open-sourced No Language Left Behind (NLLB) AI model, hosted on Hugging Face Spaces. """
80
-
81
  disclaimer = """
82
  ## Disclaimer
83
 
 
72
 
73
 
74
  description = """
75
+ <div style="text-align: center;">
76
+ <img src="https://huggingface.co/spaces/UNESCO/nllb/resolve/main/UNESCO_META_HF_BANNER.png" alt="UNESCO Meta Hugging Face Banner" style="max-width: 800px; width: 100%; margin: 0 auto;">
77
+ <h1 style="color: #0077be;">UNESCO Language Translator, powered by Meta and Hugging Face</h1>
78
+ </div>
79
 
80
  UNESCO, Meta, and Hugging Face have come together to create an accessible, high-quality translation experience in 200 languages.
81
 
82
+ This is made possible through an open approach to AI innovation using Meta's open-sourced No Language Left Behind (NLLB) AI model, hosted on Hugging Face Spaces.
83
+ """
84
  disclaimer = """
85
  ## Disclaimer
86