mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user