Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def greet(lojban):
|
|
| 16 |
#return camxes_ilmen.parse(lojban)
|
| 17 |
text, node = camxes.match(lojban, parser, None, minimal_transformer, True)
|
| 18 |
|
| 19 |
-
if text
|
| 20 |
text = '[NOT PARSEABLE]'
|
| 21 |
|
| 22 |
return text
|
|
|
|
| 16 |
#return camxes_ilmen.parse(lojban)
|
| 17 |
text, node = camxes.match(lojban, parser, None, minimal_transformer, True)
|
| 18 |
|
| 19 |
+
if text is None:
|
| 20 |
text = '[NOT PARSEABLE]'
|
| 21 |
|
| 22 |
return text
|