Set the gradio 4 allowed_paths

This commit is contained in:
oobabooga 2024-03-28 15:10:54 -07:00
parent 723f912c16
commit e0e28ecb0b

View file

@ -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"]
)