Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,8 @@ iface = gr.Interface(
|
|
| 71 |
gr.Dropdown(choices=supported_languages, label="Target language (e.g., 'lug')", value='lug'), # Optional: Dropdown for easier UX
|
| 72 |
],
|
| 73 |
outputs=gr.Textbox(label="Translated text"),
|
| 74 |
-
title="
|
| 75 |
-
description="Translate text using Sunbird/translate-nllb-1.3b-salt model. Supported languages: eng (English),
|
| 76 |
)
|
| 77 |
|
| 78 |
# Fix: Remove share=True—HF Spaces handles this
|
|
|
|
| 71 |
gr.Dropdown(choices=supported_languages, label="Target language (e.g., 'lug')", value='lug'), # Optional: Dropdown for easier UX
|
| 72 |
],
|
| 73 |
outputs=gr.Textbox(label="Translated text"),
|
| 74 |
+
title="Test Translation API",
|
| 75 |
+
description="Translate text using Sunbird/translate-nllb-1.3b-salt model(To be replaced later). Supported languages: eng (English), lug (Luganda).",
|
| 76 |
)
|
| 77 |
|
| 78 |
# Fix: Remove share=True—HF Spaces handles this
|