diff --git a/modules/monkey_patch_gradio.py b/modules/dirty_patch_gradio.py similarity index 100% rename from modules/monkey_patch_gradio.py rename to modules/dirty_patch_gradio.py diff --git a/server.py b/server.py index 2a4f983..c72a8fd 100644 --- a/server.py +++ b/server.py @@ -4,7 +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 +from modules import dirty_patch_gradio import importlib import io