From e0e28ecb0bfe9ad7c9d55012f0fec75a03300226 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:10:54 -0700 Subject: [PATCH] Set the gradio 4 allowed_paths --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index c6a01830..4b5185be 100644 --- a/server.py +++ b/server.py @@ -169,7 +169,7 @@ def create_interface(): ssl_verify=False if (shared.args.ssl_keyfile or shared.args.ssl_certfile) else True, ssl_keyfile=shared.args.ssl_keyfile, ssl_certfile=shared.args.ssl_certfile, - allowed_paths=["."] + allowed_paths=["cache", "css", "extensions", "js"] )