Added support for Pruna P-Video Replace#306
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
There was a problem hiding this comment.
Pull request overview
Adds an additional video-related settings flag and ensures video inference requests properly normalize a direct inputs.video media value before sending the request.
Changes:
- Extend
ISettingswith optionalsourceAudioSyncto support Pruna P-Video Replace scenarios. - Normalize
requestVideo.inputs.videovia_process_mediaso local file paths (and other supported media formats) are handled consistently.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
runware/types.py |
Adds ISettings.sourceAudioSync as an optional boolean setting included in serialized payloads. |
runware/base.py |
Processes inputs.video through _process_media during video inference request preparation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added
ISettingsnow includes:sourceAudioSync: Optional[bool] = None