Revert "much stricter ruff linting"

This reverts commit 310dbf1574.
This commit is contained in:
Vladimir Mandic
2026-05-11 08:13:57 +02:00
parent 8296d07ff8
commit c8d6fd5cf8
132 changed files with 363 additions and 292 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ def predict(question: str, image: Image.Image, repo: str, model_name: str | None
except Exception as e:
from modules import errors
errors.display(e, 'Moondream3')
return f"Error: {e!s}"
return f"Error: {str(e)}"
finally:
offload_aux('moondream3')