Closed augustot2 closed 5 years ago
Flask-SocketIO is not a UI framework, it can't wait for user input. You need to do that in the web browser, using JavaScript.
Thank you for the quick answer, I will try to find other way, i do not know JavaScript, so any idea would be great!
This issue will be automatically closed due to being inactive for more than six months. Seeing that I haven't responded to your last comment, it is quite possible that I have dropped the ball on this issue and I apologize about that. If that is the case, do not take the closing of the issue personally as it is an automated process doing it, just reopen it and I'll get back to you.
hi, I'm trying to do a chatbot, I already can make it work in a terminal but I would like to develop it in a web front end. I do not know much about web develop, What I would like to know is if it is possible to do something like my code bellow, but in flask socketio.
Here the user ask the bot to show a Painter art, by giving it's name and having the artist's name, it display all it's art names and after been chosen it display in screen.
I'm having trouble thinking how can I do to make a "wait user input " button like "input()" in flask-socketio.