switched from a gr.Blocks() to a gr.Interface() layout, and caching examples.
PS: after merging this, it will take a little bit more time to launch because it will run each example and cashe the output , so wait a little bit until it finishes building up.
if you want to disable this behaviour just set up cache_examples=False

Intellligent Software Engineering (iSE) org

Hi @not-lain thanks for your PR! For switching from a gr.Blocks() to a gr.Interface() layout, we are losing the "Output" title of the output box, do you have a solution for this?

@YifengDing sadly gr.Interface doesn't offer too much mobility in terms of layout meaning you cannot use the following componenets :

  • gr.Tab
  • gr.Row
  • gr.Column
  • gr.Accordion
    which are limited to a gr.Blocks layout.
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment