Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,11 +29,11 @@ interface = gr.Interface(
|
|
| 29 |
inputs=[
|
| 30 |
gr.Textbox(label="Input Text"),
|
| 31 |
gr.Dropdown(choices=language_options, label="From Language", value="English"), # Use 'value' instead of 'default'
|
| 32 |
-
gr.Dropdown(choices=language_options, label="To Language", value="
|
| 33 |
],
|
| 34 |
outputs="text",
|
| 35 |
title="Polyglotta Multilingual Translator",
|
| 36 |
-
description="Translate text between different languages. Select the source language from which you want to translate and the target language to which you want the text translated. The default target language is set to
|
| 37 |
|
| 38 |
)
|
| 39 |
|
|
|
|
| 29 |
inputs=[
|
| 30 |
gr.Textbox(label="Input Text"),
|
| 31 |
gr.Dropdown(choices=language_options, label="From Language", value="English"), # Use 'value' instead of 'default'
|
| 32 |
+
gr.Dropdown(choices=language_options, label="To Language", value="French") # Use 'value' instead of 'default'
|
| 33 |
],
|
| 34 |
outputs="text",
|
| 35 |
title="Polyglotta Multilingual Translator",
|
| 36 |
+
description="Translate text between different languages. Select the source language from which you want to translate and the target language to which you want the text translated. The default target language is set to French, but you can select any language pair according to your needs."
|
| 37 |
|
| 38 |
)
|
| 39 |
|