mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-31 07:00:50 -05:00
This commit adds a fix to the server.py file to handle requests for web worker files when running the local python server to test the wasm examples. The motivation for this is that currently the server is serving files from the build-em/bin directory which is where the .worker.js files exist. But when examples access these resources they do so with the application context path, for example /whisper.wasm/libmain.worker.js but this will not be found as it currently works.
1.3 KiB
1.3 KiB