From 36f7c022f2ebb55b3ce341aa5bafbdea330bd332 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 18 Apr 2023 01:38:33 -0300 Subject: [PATCH] Rename a file --- modules/{monkey_patch_gradio.py => dirty_patch_gradio.py} | 0 server.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/{monkey_patch_gradio.py => dirty_patch_gradio.py} (100%) 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 2a4f983d..c72a8fda 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