mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
emergency fix
This commit is contained in:
parent
7edd58d90d
commit
8aead63f1a
3
webui.py
3
webui.py
@ -89,6 +89,8 @@ def initialize():
|
|||||||
|
|
||||||
|
|
||||||
def webui():
|
def webui():
|
||||||
|
initialize()
|
||||||
|
|
||||||
# make the program just exit at ctrl+c without waiting for anything
|
# make the program just exit at ctrl+c without waiting for anything
|
||||||
def sigint_handler(sig, frame):
|
def sigint_handler(sig, frame):
|
||||||
print(f'Interrupted with signal {sig} in {frame}')
|
print(f'Interrupted with signal {sig} in {frame}')
|
||||||
@ -132,5 +134,4 @@ def webui():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
initialize()
|
|
||||||
webui()
|
webui()
|
||||||
|
Loading…
Reference in New Issue
Block a user