mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-08 03:50:22 +00:00
Update generate_image.py
This commit is contained in:
parent
c9af61705e
commit
33a18a7a95
@ -87,7 +87,7 @@ def build_image(prompt, negative_prompt, width, height, processor:APScript, clie
|
|||||||
return f'\n![]({escaped_url})'
|
return f'\n![]({escaped_url})'
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
trace_exception(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):
|
def build_image_function(processor, client):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user