Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
bd312ad
1
Parent(s):
7dc20b3
Add translation instructions to the demo
Browse files
app.py
CHANGED
@@ -73,6 +73,10 @@ This demo application allows you to use the NLLB model to translate text between
|
|
73 |
with gr.Blocks() as demo:
|
74 |
gr.Markdown("# No Language Left Behind (NLLB) Translation Demo")
|
75 |
gr.Markdown(description)
|
|
|
|
|
|
|
|
|
76 |
with gr.Row():
|
77 |
src_lang = gr.Dropdown(label="Source Language", choices=flores_codes)
|
78 |
target_lang = gr.Dropdown(label="Target Language", choices=flores_codes)
|
|
|
73 |
with gr.Blocks() as demo:
|
74 |
gr.Markdown("# No Language Left Behind (NLLB) Translation Demo")
|
75 |
gr.Markdown(description)
|
76 |
+
gr.Markdown("## Instructions")
|
77 |
+
gr.Markdown("1. Select the source and target language from the dropdown menus.")
|
78 |
+
gr.Markdown("2. Enter the text you would like to translate.")
|
79 |
+
gr.Markdown("3. Click the 'Translate text' button.")
|
80 |
with gr.Row():
|
81 |
src_lang = gr.Dropdown(label="Source Language", choices=flores_codes)
|
82 |
target_lang = gr.Dropdown(label="Target Language", choices=flores_codes)
|