Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,6 +96,7 @@ with gr.Blocks() as demo:
|
|
| 96 |
f"<h2><center>{config.get('TITLE', 'SCEPTER Studio')}</center></h2>"
|
| 97 |
)
|
| 98 |
with gr.Tabs(elem_id='tabs') as tabs:
|
|
|
|
| 99 |
for interface, label, ifid in interfaces:
|
| 100 |
with gr.TabItem(label, id=ifid, elem_id=f'tab_{ifid}'):
|
| 101 |
interface.create_ui()
|
|
|
|
| 96 |
f"<h2><center>{config.get('TITLE', 'SCEPTER Studio')}</center></h2>"
|
| 97 |
)
|
| 98 |
with gr.Tabs(elem_id='tabs') as tabs:
|
| 99 |
+
setattr(tab_manager, 'tabs', tabs)
|
| 100 |
for interface, label, ifid in interfaces:
|
| 101 |
with gr.TabItem(label, id=ifid, elem_id=f'tab_{ifid}'):
|
| 102 |
interface.create_ui()
|