mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Cloudfare fix 2
This commit is contained in:
parent
787219267c
commit
b2f7ca0d18
@ -7,7 +7,7 @@ from modules import shared
|
|||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
blocking_api.start_server(shared.args.api_blocking_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)
|
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)
|
time.sleep(5)
|
||||||
|
|
||||||
streaming_api.start_server(shared.args.api_streaming_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)
|
streaming_api.start_server(shared.args.api_streaming_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user