Spaces:
Runtime error
Runtime error
update description
Browse files
app.py
CHANGED
@@ -56,8 +56,7 @@ else:
|
|
56 |
|
57 |
|
58 |
with gr.Blocks() as demo:
|
59 |
-
gr.Markdown("# Interslavic translator via NLLB200")
|
60 |
-
gr.Markdown("This is a modified version of the original [NLLB-Translator](https://huggingface.co/spaces/Narrativaai/NLLB-Translator) space")
|
61 |
with gr.Row():
|
62 |
lang_input = gr.components.Dropdown(label="From", choices=list(LANGS.keys()), value='English')
|
63 |
lang_output = gr.components.Dropdown(label="To", choices=list(LANGS.keys()), value='Interslavic')
|
@@ -68,4 +67,4 @@ with gr.Blocks() as demo:
|
|
68 |
|
69 |
button.click(translate, inputs=[text_input, lang_input, lang_output], outputs=text_output)
|
70 |
|
71 |
-
demo.launch()
|
|
|
56 |
|
57 |
|
58 |
with gr.Blocks() as demo:
|
59 |
+
gr.Markdown("# Interslavic translator via [NLLB200](https://ai.facebook.com/research/no-language-left-behind/)")
|
|
|
60 |
with gr.Row():
|
61 |
lang_input = gr.components.Dropdown(label="From", choices=list(LANGS.keys()), value='English')
|
62 |
lang_output = gr.components.Dropdown(label="To", choices=list(LANGS.keys()), value='Interslavic')
|
|
|
67 |
|
68 |
button.click(translate, inputs=[text_input, lang_input, lang_output], outputs=text_output)
|
69 |
|
70 |
+
demo.launch()
|