Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
be7ccc0
1
Parent(s):
a47c01b
add meta copy changes (#2)
Browse files- add meta copy changes (2d53f725a97ec7f32da12c7cf251065e2c340143)
app.py
CHANGED
@@ -70,19 +70,11 @@ description = """
|
|
70 |
UNESCO, Meta, and Hugging Face have come together to create an accessible, high-quality translation experience in 200 languages.
|
71 |
|
72 |
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.
|
73 |
-
|
74 |
"""
|
75 |
|
76 |
-
instructions = """
|
77 |
-
1. Select the source and target language from the dropdown menus.
|
78 |
-
2. Enter the text you would like to translate.
|
79 |
-
3. Click the 'Translate text' button.
|
80 |
-
"""
|
81 |
with gr.Blocks() as demo:
|
82 |
gr.Markdown("# UNESCO Language Translator, powered by Meta and Hugging Face")
|
83 |
gr.Markdown(description)
|
84 |
-
gr.Markdown("## Instructions")
|
85 |
-
gr.Markdown(instructions)
|
86 |
with gr.Row():
|
87 |
src_lang = gr.Dropdown(label="Source Language", choices=flores_codes)
|
88 |
target_lang = gr.Dropdown(label="Target Language", choices=flores_codes)
|
|
|
70 |
UNESCO, Meta, and Hugging Face have come together to create an accessible, high-quality translation experience in 200 languages.
|
71 |
|
72 |
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.
|
|
|
73 |
"""
|
74 |
|
|
|
|
|
|
|
|
|
|
|
75 |
with gr.Blocks() as demo:
|
76 |
gr.Markdown("# UNESCO Language Translator, powered by Meta and Hugging Face")
|
77 |
gr.Markdown(description)
|
|
|
|
|
78 |
with gr.Row():
|
79 |
src_lang = gr.Dropdown(label="Source Language", choices=flores_codes)
|
80 |
target_lang = gr.Dropdown(label="Target Language", choices=flores_codes)
|