This commit addresses the FileNotFoundError issue in the save_current_output_image method. This error sometimes happen especially on google colab in the long session.
Implement retry logic using a try-except block to handle FileNotFoundError when saving the image. The method will retry saving the image up to a specified maximum number of times with a specified time interval between retries.
This commit addresses the FileNotFoundError issue in the save_current_output_image method. This error sometimes happen especially on google colab in the long session.
Implement retry logic using a try-except block to handle FileNotFoundError when saving the image. The method will retry saving the image up to a specified maximum number of times with a specified time interval between retries.