Allow time for server to come up properly if it was started externally.

pull/826/head
rewbs 2023-08-01 14:19:31 +10:00
parent 517a14e817
commit 2231f55205
1 changed files with 2 additions and 1 deletions

View File

@ -56,4 +56,5 @@ def start_server(request):
wait_for_service('http://localhost:7860/deforum_api/jobs/')
else:
print("Assuming server is already running...")
print("Checking server is already running / waiting for it to come up...")
wait_for_service('http://localhost:7860/deforum_api/jobs/')