diff --git a/server.py b/server.py index 3e2f262a..856dc494 100644 --- a/server.py +++ b/server.py @@ -58,9 +58,6 @@ from modules.utils import gradio def signal_handler(sig, frame): logger.info("Received Ctrl+C. Shutting down Text generation web UI gracefully.") - if 'interface' in shared.gradio: - shared.gradio['interface'].close() - sys.exit(0)