mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-09 07:07:16 -04:00
Suppress "TypedStorage is deprecated" warnings
This commit is contained in:
parent
17ce7c8671
commit
c13e8651ad
1 changed files with 2 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
import os
|
||||
import warnings
|
||||
|
||||
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
||||
os.environ['BITSANDBYTES_NOWELCOME'] = '1'
|
||||
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|
||||
|
||||
import importlib
|
||||
import io
|
||||
|
|
Loading…
Add table
Reference in a new issue