Commit History
-
Dropdowns for Canvas/LoRA/Steps via port choices (gradio 6.23.1)
gr.Workflow 6.23.1 renders a dropdown widget for ports carrying a choices list: the Canvas reference offers all 16 canvas labels, LoRA offers larry/lightx/lightx8/realism/joyfox/off, Steps offers 4/6/8/28; the operator input ports carry the same choices for rewires. The forgiving server-side resolvers stay as a backstop for API callers.df357c1 -
Convert the studio frontend to a gr.Workflow canvas
gradio.Server + index.html are replaced by gr.Workflow(graph= 'workflow.json', bind={'generate_video': ...}). The canvas wires Prompt, First/Last Frame, Canvas, Duration, Steps, Seed, Upsample and the LoRA selector (larry/lightx/lightx8/realism/joyfox/off) into the same generate() pipeline — conditioner over gradio API billed to the visitor's x-ip-token via LocalContext, @spaces.GPU denoise with dynamic duration, LoRA folding, step progress tracking, cover-crop keyframe fitting — and returns the muxed MP4, report and refined prompt to subject nodes. hf_oauth: true lets the owner edit the graph; gradio bumped to 6.22.0 for gr.Workflow.f2b41a2