Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image captioner refactorization #70

Merged
merged 9 commits into from
Dec 3, 2023
Merged

Conversation

Daethyra
Copy link
Owner

@Daethyra Daethyra commented Dec 3, 2023

Fix #61

Signed-off-by: Daemon <[email protected]>
Signed-off-by: Daemon <[email protected]>
- standardized data loading into environment variables
  - no more json configuration trash

Signed-off-by: Daemon <[email protected]>
@Daethyra Daethyra self-assigned this Dec 3, 2023
@Daethyra Daethyra enabled auto-merge December 3, 2023 22:18
@Daethyra Daethyra disabled auto-merge December 3, 2023 22:18
chore(image_captioner): improve CSV handling and error logging

Enhanced the method for saving image captions to a CSV file, allowing for flexibility in specifying the file write mode. Additionally, improved error handling for potential issues during CSV writing. If a file object is provided, it now takes precedence over the file name. Also included more descriptive error logging for unexpected errors that occur during the process.
@Daethyra Daethyra enabled auto-merge December 3, 2023 22:29
@Daethyra Daethyra merged commit 1ac865b into master Dec 3, 2023
3 checks passed
@Daethyra Daethyra deleted the image_captioner-refactorization branch December 3, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

integrable_image_captioner.py
1 participant