Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an encoding issue in gradio/components/code.py (#8077)
* Fix an enconding issue in gradio/components/code.py Changes Made: Modified the postprocess function in gradio/components/code.py to handle file encoding properly. Added encoding="utf-8" parameter to the open function when reading code files. I hardcoded UTF-8 because I couldn't figure out how to specify the encoding, similar to the fix in #8075. My issue is #8076 * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
- Loading branch information