Allow time for server to come up properly if it was started externally.
parent
517a14e817
commit
2231f55205
|
|
@ -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/')
|
||||
Loading…
Reference in New Issue