mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
split webui.py's initialization and utility functions into separate files
This commit is contained in:
parent
a2a97e57f0
commit
95821f0132
7 changed files with 405 additions and 341 deletions
|
|
@ -5,9 +5,6 @@ import torch
|
|||
from modules import shared
|
||||
from modules.shared import cmd_opts
|
||||
|
||||
import sys
|
||||
sys.setrecursionlimit(1000)
|
||||
|
||||
|
||||
def initialize():
|
||||
"""Initializes fields inside the shared module in a controlled manner.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue