Skip to content

Commit

Permalink
fix for a1111
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Jan 22, 2024
1 parent ab3bd16 commit 72d871b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/system-info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 72d871b

Please sign in to comment.