fix for a1111

pull/48/head
Vladimir Mandic 2024-01-22 14:22:38 -05:00
parent ab3bd1641a
commit 72d871b456
1 changed files with 5 additions and 2 deletions

View File

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