mimic-sussex / sema

Sema – A Playground for Live Coding Music and Machine Learning
https://sema.codes
MIT License
151 stars 51 forks source link

importScripts for lalolib.js fails to load on tutorial 03 06 #336

Open frantic0 opened 3 years ago

frantic0 commented 3 years ago

evaluating

importScripts("https://mlweb.loria.fr/lalolib.js");

both in the latest and the previous sema version, returns this error

'importScripts' on 'WorkerGlobalScope': The script at 'https://mlweb.loria.fr/lalolib.js' failed to load.
    at eval (eval at gevalToConsole (blob:http://localhost:5000/29da0c97-aebb-4c57-946b-526547b934a5:420:17), <anonymous>:1:1)
    at eval (<anonymous>)
    at gevalToConsole (blob:http://localhost:5000/29da0c97-aebb-4c57-946b-526547b934a5:420:17)
    at onmessage (blob:http://localhost:5000/29da0c97-aebb-4c57-946b-526547b934a5:436:7)

the tensorflow and lodash load correctly in the latest version, so Cross-origin isolation did not affect them