Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mubassim-khan/chatgpt-clone
This repository contains the code for building AI based, ChatGPT application using Python library Streamlit. View README for more descriptive overview about repository.
https://github.com/mubassim-khan/chatgpt-clone
chatgpt chatgpt-api openai-api python streamlit
Last synced: about 1 month ago
JSON representation
This repository contains the code for building AI based, ChatGPT application using Python library Streamlit. View README for more descriptive overview about repository.
- Host: GitHub
- URL: https://github.com/mubassim-khan/chatgpt-clone
- Owner: Mubassim-Khan
- Created: 2023-12-05T18:22:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T19:10:50.000Z (about 1 year ago)
- Last Synced: 2023-12-07T19:24:56.285Z (about 1 year ago)
- Topics: chatgpt, chatgpt-api, openai-api, python, streamlit
- Language: Python
- Homepage: https://chatgpt-ai.streamlit.app/
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT Clone
This repository contains the code for building AI based, ChatGPT application using Python library Streamlit. The project aims to recreate the visual design, fetching user-requests and response of OpenAI's ChatGPT 3.5 turbo & 4.0, providing similar interfaces & responses as of ChatGPT itself.
## Preview
![image](https://github.com/Mubassim-Khan/ChatGPT-Clone/blob/main/assets/Preview.png)
## Features
- Responsive design: The web page adapts to different screen sizes, ensuring a consistent user experience on desktop.
- AI Generated Response: By using the OpenAI API Key, quick responses of ChatGPT are made with ease.
- UI/UX: Streamlit (Python Library) made it very easy to make interactive UI with lesser time.
- Logical Scripts: Developer focuses about working on logical scripts while the Front-End is handled by Streamlit.
## Tech used π οΈ- [Python](https://www.python.org/) - Logical Scripts
- [Streamlit](https://streamlit.io/) - UI Library
- [Prettier](https://prettier.io/) - Code Formatter## Getting Started
To get started with this project, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/Mubassim-Khan/ChatGPT-Clone.git
```2. Open the project in your preferred code editor.
3. Open [http://localhost:8501](http://localhost:3000) to view it in your browser.
4. Feel free to modify the code and customize the page according to your preferences. You can update the content, change the colors, or add new features.
## Contributing
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
## Contact
If you have any questions, suggestions, or feedback, you can reach out to the project maintainer:
- LinkedIn: [Mubassim Ahmed Khan](https://www.linkedin.com/in/mubassim-ahmed-khan/)
- Email: [[email protected]](mailto:[email protected])---
# Getting Started with Streamlit
## Available Scripts
In the project directory, you can run:
### `python -m streamlit run app.py`
Runs the app in the development mode.\
Open [http://localhost:8501](http://localhost:8501) to view it in your browser.The page will reload when you make changes.\
You may also see any lint errors in the console.## ChatGPT Versions
You can switch between different available versions of ChatGPT depending upon your creditionals, billings & needs. (ChatGPT: 2.5, 3.0, 3.5 turbo, 4.0, DALLΒ·E etc)
```bash
*st.session_state["openai_model"] = "your-chatgpt-version"
```
*On line: 23