Monkey patch gradio to prevent it from calling home
This commit is contained in:
parent
6a810b16b2
commit
00186f76f4
2 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,7 @@ import warnings
|
|||
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
||||
os.environ['BITSANDBYTES_NOWELCOME'] = '1'
|
||||
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|
||||
from modules import monkey_patch_gradio
|
||||
|
||||
import importlib
|
||||
import io
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue