Simple chatbot | yml dataset | React
Set up the React App If you haven't already created a React app, you can do so using create-react-app.
npx create-react-app chatbot-web
cd chatbot-web
Once you cloned everything successfully, Arrange the files respectively :
Start the Flask server with:
python app.py
Run React App:
Make sure your React app is also running. Typically, you can start the React development server with:
npm start
This should open your React app in a browser, and it will interact with the Flask server for backend operations.
Check Server Status:
Ensure Flask is running by visiting http://127.0.0.1:5000 (or the port you chose) in your browser. You should see the Flask server running message.