pinecone-io / sample-apps

15 stars 7 forks source link

Fixed image format bug + updated similarity score labels #12

Closed jackyliang closed 1 month ago

jackyliang commented 1 month ago

Problem

  1. Lisa reported bug on an image causing problems when uploaded.
  2. Subjective similarity score labels were inaccurate

Solution

  1. Replaced imghdr library with Pillow
  2. Updated score labels to just use the raw score from Pinecone

Type of Change

Test Plan

Describe specific steps for validating this change.