Bildad commited on
Commit
72cb244
1 Parent(s): 366d921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -19,10 +19,6 @@ class UnifiedTranslator:
19
 
20
  # Debugging output
21
  print(f"Input text: {text_lower}")
22
-
23
- # Handle specific case for 'sasa' based on its position in the sentence
24
- if text_lower.startswith("sasa"):
25
- return self.phrase_mapping.get("Sasa", "Translation not found")
26
 
27
  # Check if the text matches any pattern in the phrase_mapping
28
  for pattern, translation in self.phrase_mapping.items():
 
19
 
20
  # Debugging output
21
  print(f"Input text: {text_lower}")
 
 
 
 
22
 
23
  # Check if the text matches any pattern in the phrase_mapping
24
  for pattern, translation in self.phrase_mapping.items():