Hello,
I'm currently working on a project and I need some help with flask since I'm a bit new to flask I dont know how to connect my python script into html.
Say, I have input_data.html and input_data.py how do I connect them with flask? When user input the sentence and click the button, my script (input_data.py) will process the input and display the output on text area below.
![[Image: unknown.png]](https://cdn.discordapp.com/attachments/406458722500608002/486831558372884481/unknown.png)
Any help or guidance would be appreciated.
I'm currently working on a project and I need some help with flask since I'm a bit new to flask I dont know how to connect my python script into html.
Say, I have input_data.html and input_data.py how do I connect them with flask? When user input the sentence and click the button, my script (input_data.py) will process the input and display the output on text area below.
![[Image: unknown.png]](https://cdn.discordapp.com/attachments/406458722500608002/486831558372884481/unknown.png)
Any help or guidance would be appreciated.