From d14a75c223b0c4e4bd0a12af12da02f104971d49 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Fri, 27 Dec 2024 15:27:58 +0100 Subject: [PATCH] Remove ENV --- facefusion/uis/core.py | 1 - 1 file changed, 1 deletion(-) diff --git a/facefusion/uis/core.py b/facefusion/uis/core.py index 13652df1..806f004a 100644 --- a/facefusion/uis/core.py +++ b/facefusion/uis/core.py @@ -72,7 +72,6 @@ def register_ui_component(component_name : ComponentName, component: Component) def init() -> None: os.environ['GRADIO_ANALYTICS_ENABLED'] = '0' os.environ['GRADIO_TEMP_DIR'] = os.path.join(state_manager.get_item('temp_path'), 'gradio') - os.environ['GRADIO_ALLOWED_PATHS'] = '*' warnings.filterwarnings('ignore', category = UserWarning, module = 'gradio') gradio.processing_utils._check_allowed = lambda path, check_in_upload_folder: None