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
Add a link
Reference in a new issue