Cloudfare fix 2

This commit is contained in:
oobabooga 2023-08-29 19:54:43 -07:00
parent 787219267c
commit b2f7ca0d18

View File

@ -7,7 +7,7 @@ from modules import shared
def setup():
blocking_api.start_server(shared.args.api_blocking_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)
if shared.public_api:
if shared.args.public_api:
time.sleep(5)
streaming_api.start_server(shared.args.api_streaming_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)