mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
Set the gradio 4 allowed_paths
This commit is contained in:
parent
723f912c16
commit
e0e28ecb0b
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue