Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container" class="container"> | |
<img src="https://cdn.pixabay.com/photo/2020/01/02/16/38/chatbot-4736275_960_720.png" height="400vh" alt="Chatbot clipart"> | |
<div id="chat" class="chat"> | |
<div id="messages" class="messages"></div> | |
<input id="input" type="text" placeholder="Write something..." autocomplete="off" autofocus="true" /> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from website import create_app | |
# We are able to import our flask app created in website folder bcoz of __init__.py that makes python file to package | |
app = create_app() | |
if __name__=='__main__': | |
app.run(debug=True) | |
#debug =True helps in development when we make changes it automatically reload server when project is completed you should use debug = Flase |