crossroderick commited on
Commit
4f9dbf3
·
1 Parent(s): f2c08d8

Fixed an erroneous message

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def transliterate(text: str) -> str:
11
  Prediction function.
12
  """
13
  if text.strip() == "":
14
- return "Енгізуді күтуде... жоғарыдағы кириллицаның көмегімен қазақ тілінде сөйлем теріңіз / Awaiting input... type a sentence in Kazakh using Cyrillic script above."
15
 
16
  input_text = f"Cyrillic2Latin: {text.strip()}"
17
  output = model(input_text, max_length = 128)[0]["generated_text"]
 
11
  Prediction function.
12
  """
13
  if text.strip() == "":
14
+ return ""
15
 
16
  input_text = f"Cyrillic2Latin: {text.strip()}"
17
  output = model(input_text, max_length = 128)[0]["generated_text"]