Shatha2030 commited on
Commit
96d7c68
·
verified ·
1 Parent(s): fdb4555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def summarize_text(text, language):
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"
 
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"