-
Notifications
You must be signed in to change notification settings - Fork 6
dd: feat: multi-res support #746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Reviewer Guide 🔍(Review updated until commit 0a1b9a1)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 0a1b9a1
Previous suggestionsSuggestions up to commit 9f35c7b
|
1652cab
to
5a36570
Compare
923ee7e
to
babbe98
Compare
Persistent review updated to latest commit 0a1b9a1 |
if (initialIsMobile) { | ||
if (!updatedInputValues.prompt["16"]) { | ||
updatedInputValues.prompt["16"] = { inputs: {} }; | ||
} | ||
if (!updatedInputValues.prompt["16"].inputs) { | ||
updatedInputValues.prompt["16"].inputs = {}; | ||
} | ||
|
||
updatedInputValues.prompt["16"].inputs.width = 384; | ||
updatedInputValues.prompt["16"].inputs.height = 704; | ||
updatedInputValues.prompt["16"].inputs.batch_size = 1; | ||
|
||
if (commands["width"]) { | ||
const widthValue = parseFloat(commands["width"]); | ||
if (!isNaN(widthValue) && widthValue > 0) { | ||
updatedInputValues.prompt["16"].inputs.width = widthValue; | ||
} | ||
} | ||
|
||
if (commands["height"]) { | ||
const heightValue = parseFloat(commands["height"]); | ||
if (!isNaN(heightValue) && heightValue > 0) { | ||
updatedInputValues.prompt["16"].inputs.height = heightValue; | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the exact prompt ID #, we should query for the node with a class_type of EmptyLatentImage
{
"_meta": {
"title": "Empty Latent Image"
},
"inputs": {
"width": 704,
"height": 384,
"batch_size": 1
},
"class_type": "EmptyLatentImage"
}
PR Type
Enhancement
Description
Record both input and output clips
Add input clip download/share button
Adjust aspect ratios for mobile portrait
Use mobile pipeline & resolution params
Changes walkthrough 📝
9 files
Add input clip props and mobile record logic
Support input clip in modal state
Add input clip download/share UI
Extend ClipData with input clip fields
Use portrait aspect ratio on mobile
Switch Dreamshaper player to 9:16 on mobile
Apply portrait layout in collapsed mobile view
Add mobile pipeline and resolution handling
Record input stream alongside output clip