sytpb / chatgpt-openai-python

demo for chatgpt openai using python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About The Project

This project enables you to rapidly develop a web application utilizing ChatGPT APIs. Several demo files are provided to demonstrate the step-by-step process of building the application.

gpt-chat-robot.py

Built With

Python
pip
Openai
https://platform.openai.com/

Gradio
https://gradio.app/docs/#chatbot

Prerequisites

A ChatGPT account and applying an API KEY

https://platform.openai.com/account/api-keys

<pip install openai>
<pip install gradio>

Run

1. VSCode >> Run Python File (right top)
2. local access http://127.0.0.1:7860/ in your browser
public access as below picture show.

image

About

demo for chatgpt openai using python


Languages

Language:Python 100.0%