mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-06-05 14:54:54 +00:00
Merge e8820d0ac8
into ec902046f6
This commit is contained in:
commit
4e5eecab94
@ -205,4 +205,8 @@ if __name__ == '__main__':
|
||||
print("done", flush=True)
|
||||
|
||||
demo = gradio_interface()
|
||||
demo.launch(server_name="0.0.0.0", share=False, server_port=7860)
|
||||
if "WAN_USER" in os.environ and "WAN_PWD" in os.environ:
|
||||
demo.launch(server_name="0.0.0.0", share=False, server_port=7860,
|
||||
auth=(os.environ["WAN_USER"], os.environ["WAN_PWD"]))
|
||||
else:
|
||||
demo.launch(server_name="0.0.0.0", share=False, server_port=7860)
|
||||
|
Loading…
Reference in New Issue
Block a user