Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -79,12 +79,12 @@ def Piper(_do):
|
|
79 |
width=768,
|
80 |
#negative_prompt='ugly, deformed, disfigured, poor details, bad anatomy, labels, texts, logos',
|
81 |
num_inference_steps=40,
|
82 |
-
guidance_scale=
|
83 |
)
|
84 |
|
85 |
def infer(prompt):
|
86 |
name = generate_random_string(12)+".png"
|
87 |
-
_do = f'
|
88 |
image = Piper(_do).images[0].save(name)
|
89 |
return name
|
90 |
|
|
|
79 |
width=768,
|
80 |
#negative_prompt='ugly, deformed, disfigured, poor details, bad anatomy, labels, texts, logos',
|
81 |
num_inference_steps=40,
|
82 |
+
guidance_scale=10
|
83 |
)
|
84 |
|
85 |
def infer(prompt):
|
86 |
name = generate_random_string(12)+".png"
|
87 |
+
_do = f'full "{ translate(prompt,"english").upper() }" compliance, hot colors palette, muted colors, dynamic poze, realistic, realistic details, award winning photograph, soft natural lighting, deep field, high definition, highly detailed, 8k'.lower()
|
88 |
image = Piper(_do).images[0].save(name)
|
89 |
return name
|
90 |
|