mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
Update lollms_tti.py
This commit is contained in:
parent
dead0aaf91
commit
dc144d6d9c
@ -103,5 +103,6 @@ def build_image(prompt, negative_prompt, width, height, return_format="markdown"
|
|||||||
return None # Handle other return formats if needed
|
return None # Handle other return formats if needed
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
# Log the exception
|
# Log the exception
|
||||||
|
trace_exception(ex)
|
||||||
print(f"Error in build_image: {str(ex)}")
|
print(f"Error in build_image: {str(ex)}")
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user