mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-18 12:50:30 +08:00
* thanks o3 * add changeset * more * make events work * moreeeeeee * prettier * nb * add changeset * Update utils.py (#10773) ### Description This pull request updates the `get_node_path` function in the `gradio/utils.py` file to handle scenarios where the `which` command is missing. The function has been improved by splitting the error handling into two separate `try` blocks for better granularity and robustness. ### Changes Made - Split the `try` block into two separate `try` blocks for handling Windows and Unix-like systems. - Added error handling for `FileNotFoundError` in addition to `subprocess.CalledProcessError`. ### Rationale The original implementation did not properly handle the case when the `which` command is missing. This update ensures the function gracefully handles such scenarios and continues to check other possible locations for the `node` executable. * fix: latex rendering of markdown (#10765) * fix: latex rendering of markdown * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * more * Tweak Image Editor UI (#10779) * tweak layers ui * upload alignment and text colour * change check icon * zoom tweaks * tweak layers panel * changes * more * fix image inputs * more fix * fix * fix loading layer via events * fix loading layer via events * allow developers to control layers more granularly * disable pan button when at min zoom * Update image_editor.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * show visual indicator for outpainting region * ensure initial image values work * fix cropped image placement * fix crop intiialisation options * demos and fix brush opacity options * fix layer_options updates and add demo * more * fix webcam * fix * fix * improve color swatches * fix canvas resizing * simplify crop * fix crop yet again * rework controls * scripts * tweaks * tweaks * fix things * Add two more demos for `gr.ImageEditor` (#10946) * changes * sketchpad * changes * various fixed * generate notebooks * update changes * lockfile * format code * notebooks * tweaks * fix test * fix notebooks * changes * fix storybook * changes * interface * remove redo/undo story * fix pytest * changes * push * fiiiiiix * tweaks * fix * fix thingy * tweaks * changeset * add changeset * fix * fix * website build issue * add changeset * add layeroptions to docs * formatting * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Hannah <hannahblair@users.noreply.github.com> Co-authored-by: Pablo Speciale <pablospe@users.noreply.github.com> Co-authored-by: Col0ring <47329987+Col0ring@users.noreply.github.com> Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: aliabd <ali.si3luwa@gmail.com>