Update lollms_tti.py

This commit is contained in:
Saifeddine ALOUI 2024-09-27 11:44:28 +02:00 committed by GitHub
parent dead0aaf91
commit dc144d6d9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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