diff --git a/06_gpu_and_ml/text_generation_inference.py b/06_gpu_and_ml/text_generation_inference.py index be1a399f8..0fbdbcbf0 100644 --- a/06_gpu_and_ml/text_generation_inference.py +++ b/06_gpu_and_ml/text_generation_inference.py @@ -126,7 +126,9 @@ def webserver_ready(): # If so, a connection can never be made. retcode = self.launcher.poll() if retcode is not None: - raise RuntimeError(f"launcher exited unexpectedly with code {retcode}") + raise RuntimeError( + f"launcher exited unexpectedly with code {retcode}" + ) return False while not webserver_ready():