Skip to Content
avatar image
Former Member

Leonardo ML API not returning result

Dear Experts,

I am following tutorial by Abdel Dadouche on using ML APIs for image similarity scoring.

I have followed each step as it was mentioned in the tutorial. But after uploading 2 images the similarity scoring button does not return any value. When I do an F12 on the UI5 screen I get below error in the console. However JSZip is declared as global in the controller.

Uncaught ReferenceError: JSZip is not defined
at f.onPressScoreSimilarity (demo.controller.js?eval:25)
at f.a.fireEvent (EventProvider-dbg.js:229)
at f.a.fireEvent (Element-dbg.js:427)
at f.firePress (ManagedObjectMetadata-dbg.js:428)
at f.B.ontap (eval at evalModuleStr (, <anonymous>:805:179)
at f.a._handleEvent (Element-dbg.js:162)
at constructor.U._handleEvent (UIArea-dbg.js:786)
at HTMLBodyElement.dispatch (jquery-dbg.js:4737)
at g (jquery-mobile-custom-dbg.js:1972)
at HTMLBodyElement.q (jquery-mobile-custom-dbg.js:2063)

Please help.



swjuq.png (32.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer