mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-05 14:33:15 +00:00
added output path to allowed_paths to prevent gradio errors on external paths
This commit is contained in:
parent
675663584d
commit
ac18ec6b4f
@ -2122,6 +2122,6 @@ if __name__ == "__main__":
|
|||||||
url = "http://" + server_name
|
url = "http://" + server_name
|
||||||
webbrowser.open(url + ":" + str(server_port), new = 0, autoraise = True)
|
webbrowser.open(url + ":" + str(server_port), new = 0, autoraise = True)
|
||||||
|
|
||||||
demo.launch(server_name=server_name, server_port=server_port, share=args.share)
|
demo.launch(server_name=server_name, server_port=server_port, share=args.share, allowed_paths=[save_path])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user