Skip to content

Commit

Permalink
added space for better ouput on text to image
Browse files Browse the repository at this point in the history
  • Loading branch information
siam009 committed Jan 2, 2024
1 parent 1b29b8c commit 1ea36b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ def text2imggenerateapi(self, prompt: str = Body(title='user prompt'),
global_negative="")


positive_prompt = prompt + data.prompt + data.global_positive
negative_prompt = data.negative_prompt + data.global_negative
positive_prompt = prompt + " " + data.prompt + " " + data.global_positive
negative_prompt = data.negative_prompt + " " + data.global_negative

if style != "base":
positive_prompt = StyleSelectorXL.createPositive(style, prompt + data.global_positive)
Expand Down

0 comments on commit 1ea36b2

Please sign in to comment.