https://github.com/samarthswami1016/chatgpt-clone-using-python
ChatGpt Clone Using Python
https://github.com/samarthswami1016/chatgpt-clone-using-python
chatbot chatgpt chatgpt-api css gemini-api gpt4all html javascript python
Last synced: 2 months ago
JSON representation
ChatGpt Clone Using Python
- Host: GitHub
- URL: https://github.com/samarthswami1016/chatgpt-clone-using-python
- Owner: samarthswami1016
- License: mit
- Created: 2025-03-16T15:54:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T05:23:30.000Z (over 1 year ago)
- Last Synced: 2025-03-26T06:25:18.080Z (over 1 year ago)
- Topics: chatbot, chatgpt, chatgpt-api, css, gemini-api, gpt4all, html, javascript, python
- Language: Python
- Homepage:
- Size: 523 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ChatGPT Clone
feel free to improve the code / suggest improvements

## Getting Started
To get started with this project, you'll need to clone the repository and set up a virtual environment. This will allow you to install the required dependencies without affecting your system-wide Python installation.
### Prequisites
Before you can set up a virtual environment, you'll need to have Python installed on your system. You can download Python from the official website: https://www.python.org/downloads/
### Cloning the Repository
Run the following command to clone the repository:
```
git clone https://github.com/samarthswami1016/ChatGPT-Clone-using-Python.git
```
### Setting up a Virtual Environment
To set up a virtual environment, follow these steps:
1. Navigate to the root directory of your project.
```
cd ChatGPT-Clone-using-Python
```
2. Run the following command to create a new virtual environment:
```
python -m venv venv
```
3. Activate the virtual environment by running the following command:
```
source venv/bin/activate
```
If you are using fish shell, the command will be slightly different:
```
source venv/bin/activate.fish
```
If you're on Windows, the command will be slightly different:
```
venv\Scripts\activate
```
4. Install the required dependencies by running the following command:
```
pip install -r requirements.txt
```
### Running the Application
To run the application, make sure the virtual environment is active and run the following command:
```
python run.py
```