Update app.py
Browse files
app.py
CHANGED
|
@@ -525,7 +525,7 @@ def decode_simple(text: str, source: str, tgt_lang: str) -> str:
|
|
| 525 |
# Reorden: Greeting + wh + S V O ADV
|
| 526 |
final_out = []
|
| 527 |
if greeting:
|
| 528 |
-
final_out.append(greeting.capitalize()
|
| 529 |
if wh:
|
| 530 |
final_out.append(wh)
|
| 531 |
final_out += out_parts
|
|
@@ -804,4 +804,3 @@ with gr.Blocks(title="Universal Conlang Translator") as demo:
|
|
| 804 |
|
| 805 |
if __name__ == "__main__":
|
| 806 |
demo.launch()
|
| 807 |
-
|
|
|
|
| 525 |
# Reorden: Greeting + wh + S V O ADV
|
| 526 |
final_out = []
|
| 527 |
if greeting:
|
| 528 |
+
final_out.append(greeting.capitalize())
|
| 529 |
if wh:
|
| 530 |
final_out.append(wh)
|
| 531 |
final_out += out_parts
|
|
|
|
| 804 |
|
| 805 |
if __name__ == "__main__":
|
| 806 |
demo.launch()
|
|
|