diff --git a/JC2.py b/JC2.py index 465eaed..0fc3d82 100644 --- a/JC2.py +++ b/JC2.py @@ -813,8 +813,9 @@ def joycaption2_simple( model = self.previous_model except Exception as e: - print(f"Error loading model: {e}") - return None + # print(f"Error loading model: {e}") + raise Exception(f"Error loading model: {e}") + # return None print(f"Model loaded on {model_loaded_on}")