aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorVladimir Mandic <mandic00@live.com>2023-03-14 07:46:09 -0400
committerGitHub <noreply@github.com>2023-03-14 07:46:09 -0400
commitf2ed6295b9041e217c50ad57ca2f609aa6f1bac9 (patch)
tree875018cde926d73596aa3921f2116ebe4539a18f /webui.py
parentfc4d593b4e069329a1014ddc3ddb9bb4757ab7d0 (diff)
make it module specific
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 36e18d37..d7bbc7b7 100644
--- a/webui.py
+++ b/webui.py
@@ -19,7 +19,7 @@ startup_timer = timer.Timer()
import torch
import pytorch_lightning # pytorch_lightning should be imported after torch, but it re-enables warnings on import so import once to disable them
-warnings.filterwarnings(action="ignore", category=DeprecationWarning)
+warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="pytorch_lightning")
startup_timer.record("import torch")
import gradio