Spaces:
Sleeping
Sleeping
Commit ·
4f9dbf3
1
Parent(s): f2c08d8
Fixed an erroneous message
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def transliterate(text: str) -> str:
|
|
| 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"]
|
|
|
|
| 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"]
|