Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Ensure the order of image urls #179

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

kota113
Copy link
Contributor

@kota113 kota113 commented Sep 4, 2023

Description

I changed the type of the "images" variable from set to list, to ensure the order of urls.
I encountered a problem of inconsistency of the order of images so I made this change.

*adding to the change above, I fixed a wrong description of a type of "images" response in ask_about_image().

Related Issue

#178

Motivation and Context

I encountered the problem when I tried to match the image descriptions in the reponse and image urls.

How Has This Been Tested?

I tested the get_answer() function with my machine below.

  • Windows 11 Pro 22H2 (latest update applied)
  • Python 3.11.3

Screenshots (if appropriate):

Thank you once again to all the contributors. Your efforts are greatly appreciated!

@dsdanielpark dsdanielpark merged commit f5d8fcc into dsdanielpark:main Sep 4, 2023
2 checks passed
@dsdanielpark
Copy link
Owner

Thank you for your thoughtful insights and revisions.
I would appreciate any further contributions, even if they are minor improvements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants