Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

284 B
Raw Blame
// Vite's import.meta.glob (the upscaler sample crops in Upscalers.tsx) has no webpack
// equivalent; the video never shows those crops, so the call becomes an empty map.
module.exports = function viteGlob(source) {
  return source.replace(/import\.meta\.glob\([^)]*\)/g, "({})");
};