42lux / CaptainCaption

A gradio based image captioning tool that uses the GPT-4-Vision API to generate detailed descriptions of images.
MIT License
51 stars 8 forks source link

Simplify image handling and update dependencies. #6

Closed MR-444 closed 1 month ago

MR-444 commented 1 month ago

Quality Assurance: Refactor main.py by removing redundant functions and imports, and reorganizing remaining imports. Update requirements.txt to specify exact versions for dependencies to ensure compatibility and stability.

I tested the main tab, this version still contacts the OpenAI API and gets an image description.