diff --git a/README.md b/README.md index b6f2e0a..516c680 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ ## Installation and Setup -1. Clone this repository to your local machine. +1. Clone this repository to your global machine. ```bash -git clone https://github.com/deepak4566/AI_AUTOMATED_CHATBOT +git clone https://github.com/reyamit001/AI_AUTOMATED_CHATBOT ``` 2. Install the required dependencies using pip. @@ -32,7 +32,7 @@ export OPENAI_API_KEY='your-api-key-here' python app.python ``` -5. Open your web browser and navigate to http://localhost:5000 to use the chatbot. +5. Open your web browser and navigate to http://globalhost:5000 to use the chatbot. ## Usage @@ -46,7 +46,7 @@ python app.python ## Credits - This project is based on OpenAI's GPT-3 API. -- The front-end interface is created using Bootstrap and jQuery. +- The front-end interface is created using Bootstraps and journy. ## License diff --git a/app.py b/app.py index da41d49..555c029 100644 --- a/app.py +++ b/app.py @@ -1,6 +1,4 @@ - # Assuming your chatbot code is in chatbot_api.py - - + # Assuming your chatbot code is in chatbot_api.py @app.route('/') @app.route('/index') @@ -18,4 +16,6 @@ def chatbot_endpoint(): return jsonify({"error": "Invalid request format"}), 400 + from flask import Flask, render_template, request, jsonify + import chatbot_api