gradio-chatgpt-app
gradio-chatgpt-app copied to clipboard
A demonstration of a chatbot interface that uses the OpenAI ChatGPT API
Description
This app is a Chatbot UI that uses the OpenAI ChatGPT API to provide responses to text inputs. It is launched using the Gradio library, which allows the user to enter text queries from a nice interface and receive responses from the chatbot.
Install Dependencies
Run:
pip install -r requirements.txt
API Key
The app will need an OpenAI API Key to work. To specify it, create a .env file and write your OpenAI API key
OPENAI_API_KEY=XXXXXXXXX
Start App
Just run:
gradio mywebgpt.py
Then, you can see your app at the url http://127.0.0.1:8080/
.