mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[PR #244] fix: turn off gradio share in the demos and bump the gradio pin #236
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/Janus/pull/244
Author: @Dextheking1
Created: 10/23/2026
Status: 🔄 Open
Base:
main← Head:fix/demo-share-and-gradio-pin📝 Commits (1)
fc0db5ffix: demos stop sharing publicly, bump gradio pin📊 Changes
5 files changed (+10 additions, -7 deletions)
View changed files
📝
demo/app.py(+2 -1)📝
demo/app_janusflow.py(+2 -1)📝
demo/app_januspro.py(+2 -1)📝
pyproject.toml(+2 -2)📝
requirements.txt(+2 -2)📄 Description
the three gradio demos (demo/app.py, demo/app_januspro.py, demo/app_janusflow.py) launch with share=True and no auth, and the repo pins gradio 3.48.0. that version sits in the CVE-2023-51449 range, where the /file endpoint reads arbitrary files off the host. run the demo as shipped and the public share link exposes the box it runs on.
fix: launch with share=False in all three demos, with a comment saying to set it back yourself if you need a public link. bump the pin to gradio 4.44.1 and gradio-client 1.3.0 (the pair gradio 4.44.1 requires) in requirements.txt and pyproject.toml.
demo logic is untouched. the demos were not run end to end here, no weights on this box. changed python files compile, pyproject still parses.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.