mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
Lint
This commit is contained in:
parent
f786aa3caa
commit
c21a9668a5
@ -57,7 +57,7 @@ from modules.utils import gradio
|
||||
|
||||
|
||||
def signal_handler(sig, frame):
|
||||
logger.info(f"Received Ctrl+C. Shutting down Text generation web UI gracefully")
|
||||
logger.info("Received Ctrl+C. Shutting down Text generation web UI gracefully.")
|
||||
if 'interface' in shared.gradio:
|
||||
shared.gradio['interface'].close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user