gradio server + workflow app

#3
by akhaliq HF Staff - opened

Replace the form UI with a gr.Server studio + gr.Workflow canvas
Replaces the classic form UI with a bespoke studio, and adds a node-based workflow canvas. The backend is verbatim, same AOTI-accelerated pipeline, same render, same VGL prompt writing.

Screenshot 2026-10-21 at 11.47.34 PM

akhaliq changed pull request status to open
BRIA AI org

Thanks for adding this.

Before merging, we pushed a few more commits on top:

  • Some hardening on the new endpoints. Because the gr.Server endpoints take plain strings rather than Gradio file components, they skip Gradio's usual path and URL checks. The new commits limit inputs to uploaded files and tighten a few related spots: temp file serving, the login redirect page, a step cap and the request queue.
  • Dropped the write-repos OAuth scope. It would give the Space write access to every signed-in visitor's repos. Saving the graph back to the Space is off as a result, and the README now says so.
  • Fixed a startup ordering issue. Mounting the workflow before the loopback launch()/close() started its queue on the loopback server's event loop. /workflow runs were accepted but never ran. Mounting it after close() fixes it.
  • Pointed the studio examples at example_images/, since #4 renamed them.

Each change is its own commit if you'd like to look through them.

tingled changed pull request status to merged

Sign up or log in to comment