Comment the gradio patch

This commit is contained in:
oobabooga 2023-04-18 01:57:59 -03:00 committed by GitHub
parent 36f7c022f2
commit e1b80e6fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import warnings
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False' os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
os.environ['BITSANDBYTES_NOWELCOME'] = '1' os.environ['BITSANDBYTES_NOWELCOME'] = '1'
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated') warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
from modules import dirty_patch_gradio #from modules import dirty_patch_gradio
import importlib import importlib
import io import io