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.txtThe 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=XXXXXXXXXJust run:
gradio mywebgpt.pyThen, you can see your app at the url http://127.0.0.1:8080/.
