Closed Larry3best closed 4 months ago
I guess the problem is because asset1_info is None. I revised code to manage this situation
variable assets is used before being defined in all possible paths of the function. This can cause the UnboundLocalError if any exception occurs before assets is assigned from the response.json() call. To avoid this I'll fix the code to initialize assets to a default value before the try block Code now is fixed (and imporved with a new vector engine!) Let me know if now is working
I get this error after building the index and the app tries to display the duplicates: Found 7 duplicate pairs with FAISS code: One or both of the assets are not images and cannot be compared.
Is this because the files are videos? Thanks