How to use input function with flask in Python, to get a user input and then send response based on that response. Trying to do this continuously something like dialogue-flow approach .
Trying to expose this command line terminal to capture user input capture in UI
#Below is the code
df_final = pandas_dedupe.dedupe_dataframe(df,['Company'])
#Below is the resultant output which get displayed in terminal which asks for user response.
#I'm trying to expose this to user and get his response.
Company : reliance captal
Company : reliance captive
0/10 positive, 0/10 negative
Do these records refer to the same thing?
(y)es / (n)o / (u)nsure / (f)inished