Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -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