Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def Piper(_do,_dont):
|
|
93 |
width=576,
|
94 |
negative_prompt=_dont,
|
95 |
num_inference_steps=200,
|
96 |
-
guidance_scale=
|
97 |
)
|
98 |
|
99 |
def infer(prompt,prompt2):
|
@@ -101,9 +101,9 @@ def infer(prompt,prompt2):
|
|
101 |
prompt_en = translate(prompt,"english")
|
102 |
prompt2_en = translate(prompt2,"english")
|
103 |
if prompt == None or prompt.strip() == "":
|
104 |
-
_do = 'sharp warm dark
|
105 |
else:
|
106 |
-
_do = f'photographed { prompt_en }, sharp warm dark
|
107 |
if prompt2 == None or prompt2.strip() == "":
|
108 |
_dont = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
109 |
else:
|
|
|
93 |
width=576,
|
94 |
negative_prompt=_dont,
|
95 |
num_inference_steps=200,
|
96 |
+
guidance_scale=4
|
97 |
)
|
98 |
|
99 |
def infer(prompt,prompt2):
|
|
|
101 |
prompt_en = translate(prompt,"english")
|
102 |
prompt2_en = translate(prompt2,"english")
|
103 |
if prompt == None or prompt.strip() == "":
|
104 |
+
_do = 'sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid pastel background colors'
|
105 |
else:
|
106 |
+
_do = f'photographed { prompt_en }, sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid pastel background colors'
|
107 |
if prompt2 == None or prompt2.strip() == "":
|
108 |
_dont = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
109 |
else:
|