Automation foundation model for tiny devices: 2-bit, 8-29 MB, tool calls, ASR, structured extraction and embeddings on phones, wearables, smart homes, robots, cars and microcontrollers.
serve playground downloads from a private temp dir (#102)
Avionic Harshitf04b598d7db0
diff --git a/needle/playground/server.py b/needle/playground/server.pyindex 682a9d1..6525fe6 100644--- a/needle/playground/server.py+++ b/needle/playground/server.py@@ -11,7 +11,7 @@ _STATIC = {"/": "index.html", "/index.html": "index.html",_CTYPE = {".html": "text/html; charset=utf-8",".js": "application/javascript; charset=utf-8",".css": "text/css; charset=utf-8"}-_DOWNLOADS = Path(tempfile.gettempdir())+_DOWNLOADS = Path(tempfile.mkdtemp(prefix="needle-playground-"))class Engine: