Update generate_image.py

This commit is contained in:
Saifeddine ALOUI 2024-06-16 01:02:57 +02:00 committed by GitHub
parent c9af61705e
commit 33a18a7a95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ def build_image(prompt, negative_prompt, width, height, processor:APScript, clie
return f'\n![]({escaped_url})'
except Exception as ex:
trace_exception(ex)
return "Couldn't generate image. Make sure Auto1111's stable diffusion service is installed"
return f"Couldn't generate image. Make sure {processor.personality.config.active_tti_service} service is installed"
def build_image_function(processor, client):