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.
Run:
pip install -r requirements.txt
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
Just run:
gradio mywebgpt.py
Then, you can see your app at the url http://127.0.0.1:8080/
.