Commit af1ad368 authored by SupunGurusinghe's avatar SupunGurusinghe

Add new features

parent db621e76
...@@ -55,8 +55,6 @@ def process(): ...@@ -55,8 +55,6 @@ def process():
checkbox3 = request.form.get('checkbox3') == 'true' checkbox3 = request.form.get('checkbox3') == 'true'
checkbox4 = request.form.get('checkbox4') == 'true' checkbox4 = request.form.get('checkbox4') == 'true'
print(request.form)
if input_text and checkbox1: if input_text and checkbox1:
obj = RuleBasedTransliterator() obj = RuleBasedTransliterator()
# Perform text processing on input_text # Perform text processing on input_text
...@@ -76,7 +74,6 @@ def process(): ...@@ -76,7 +74,6 @@ def process():
if checkbox3: if checkbox3:
obj2 = GrammarMain() obj2 = GrammarMain()
paragraphs = processed_result.split('\n') paragraphs = processed_result.split('\n')
processed_paragraphs = [] processed_paragraphs = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment