no ui in api only

pull/48/head
Vladimir Mandic 2024-01-21 09:37:30 -05:00
parent 99ad4030b1
commit ab3bd1641a
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ def refresh_info_full():
### ui definition
def create_ui(blocks: gr.Blocks = None):
if blocks is None:
return
if not standalone:
from modules.ui import ui_system_tabs # pylint: disable=redefined-outer-name
else: