I want to render two forms on single html page.
-
form1 has two inputs(paragraph to summarize and length of summary) and after clicking on generate summary button from left side of page it will return summary for left side paragraph
-
form2 has two inputs(paragraph to summarize and length of summary) and after clicking on generate summary button from right side of page it will return summary for right side paragraph
after clicking on left side summary generate button it is giving output but when I click on right side generate summary button it is clearing output generated on left side form.
images of error are given in the following links first time clicking on left side generate summary button https://imgur.com/DnAhI2M) after clicking on right side generate summary button https://imgur.com/yvHd63f)
codes https://gist.github.com/awg01/33a1443338a11effc3218fc1b5577c6b