- option 1) Drag & Drop
- option 2) Click in the "UPLOAD FILES" button, on the left of the chat input ๐ฌ
- option 3) Copy a image and paste it in the chat input (ctrl + v)
- change log:
- Changed GPT-4-1106-preview for gpt-3.5-turbo-1106, due high cost of GPT-4-1106-preview
If you upload more than 1 image, it will take the first image, this is just for demo purposes
- change log:
- Added Low res mode, to test the fidelity of responses
- Changed max_tokens from 300 to 100, to test the costs.
- Changed max_tokens from the output to 300
- Cleared image history after the response
- Image size limit set up to 1mb
If a limit reached error appears, you can wait 15 minutes and try again or in a few hours. It is an openai limit.
install dependencies (recomended to use a virtualenv)
pip install -r requirements.txt
OPENAI_API_KEY=<your api key>
chainlit run app.py
chainlit run app.py --port 5001