mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Set the gradio 4 allowed_paths
This commit is contained in:
parent
723f912c16
commit
e0e28ecb0b
@ -169,7 +169,7 @@ def create_interface():
|
|||||||
ssl_verify=False if (shared.args.ssl_keyfile or shared.args.ssl_certfile) else True,
|
ssl_verify=False if (shared.args.ssl_keyfile or shared.args.ssl_certfile) else True,
|
||||||
ssl_keyfile=shared.args.ssl_keyfile,
|
ssl_keyfile=shared.args.ssl_keyfile,
|
||||||
ssl_certfile=shared.args.ssl_certfile,
|
ssl_certfile=shared.args.ssl_certfile,
|
||||||
allowed_paths=["."]
|
allowed_paths=["cache", "css", "extensions", "js"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user