Spaces:
Sleeping
Sleeping
Update app.py
#3
by
not-lain
- opened
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
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 agr.Blocks
layout.