Spaces:
Running
Running
Update the bot to commit 24cbc04
#1
by cmpatino HF Staff - opened
Updates the demo's bot to the same commit as huggingface/pybot#10: 24cbc0439e07 instead of 3185a7a9bc50.
What changes
pybot-24cbc0439e07.zipreplacespybot-3185a7a9bc50.zip. It was built withbuild/build.mjs+build/build_bundle.pyand Pyodide 314.0.7, as the README describes, from the 528bot/**.pyfiles.worker.js: onlyBUNDLEchanges, to the new file name.tree.json: the treemap's files and line counts for the newbot/(528 files, 636,551 lines).urlandrefare unchanged.
index.html, pybot_web.py, the fonts, the Dockerfile and the Space README are unchanged, so the page looks the same. Only the treemap's content changes.
Checked
- The build is reproducible: rebuilding the current bundle from
3185a7awith the same steps gives the same files with the same contents (only the zip timestamps differ), and the same method regenerates the currenttree.jsonexactly. - The new bundle loads in Pyodide 314.0.7 under Node, as
worker.jsloads it (PYTHONHASHSEED=0,pybot_web.load(),reset(),turn()). The 6 sample questions and "I'm learning about space and gravity. What is gravity in space?" get the same replies as the current bundle, word for word.
Merge order: the treemap opens files on GitHub main, so merge huggingface/pybot#10 first. Until then, the 160 new files' links would 404.
cmpatino changed pull request status to merged