Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def summarize_text(text, language):
|
|
| 27 |
# gradio
|
| 28 |
def translate_ui(language):
|
| 29 |
return {
|
| 30 |
-
"title": "
|
| 31 |
"summarize_btn": " لخص النص" if language == "العربية" else " Summarize Text",
|
| 32 |
"text_input_label": "أدخل النص" if language == "العربية" else "Enter text",
|
| 33 |
"text_output_label": "النتيجة" if language == "العربية" else "Result"
|
|
|
|
| 27 |
# gradio
|
| 28 |
def translate_ui(language):
|
| 29 |
return {
|
| 30 |
+
"title": " مرحبًا بك في أداة تلخيص النصوص👋" if language == "العربية" else "👋 Welcome to the Text Summarization Tool!",
|
| 31 |
"summarize_btn": " لخص النص" if language == "العربية" else " Summarize Text",
|
| 32 |
"text_input_label": "أدخل النص" if language == "العربية" else "Enter text",
|
| 33 |
"text_output_label": "النتيجة" if language == "العربية" else "Result"
|