Skip to content

chenhengjie123/ChatGPTDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT

ChatGPT Python Flask example using https://beta.openai.com/docs/quickstart

Alt text

To run:

 git clone https://github.com/RamSailopal/ChatGPT.git
 cd ChatGPT
 cd app

Amend the .env file and add you openai API token (attained from https://openai.com/api/)

 cd ..
 docker run -it --entrypoint /home/app/entrypoint.sh -v $PWD/app:/home/app -p 5000:5000 docker.io/ubuntu

Navigate to http://localhost:5000

Ask a question

Get the answer

Image Generation

Navigate to http://localhost:5000/image

Enter an image description

View the image

About

ChatGPT Python Flask example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 36.9%
  • Python 29.5%
  • HTML 27.7%
  • Shell 5.9%