Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -90,16 +90,16 @@ def Piper(_do,_dont):
|
|
90 |
height=320,
|
91 |
width=480,
|
92 |
negative_prompt=_dont,
|
93 |
-
num_inference_steps=
|
94 |
guidance_scale=4
|
95 |
)
|
96 |
|
97 |
def infer(prompt_en,prompt2_en):
|
98 |
name = generate_random_string(12)+".png"
|
99 |
if prompt_en == "":
|
100 |
-
_do = 'natural
|
101 |
else:
|
102 |
-
_do = f'natural
|
103 |
if prompt2_en == "":
|
104 |
_dont = 'smooth texture, fictional proportions, blurred content, distorted items, deformed palms, logos and signs, texts and prints'
|
105 |
else:
|
|
|
90 |
height=320,
|
91 |
width=480,
|
92 |
negative_prompt=_dont,
|
93 |
+
num_inference_steps=60,
|
94 |
guidance_scale=4
|
95 |
)
|
96 |
|
97 |
def infer(prompt_en,prompt2_en):
|
98 |
name = generate_random_string(12)+".png"
|
99 |
if prompt_en == "":
|
100 |
+
_do = 'natural dark muted vintage coloring, amazing scene, reasonable proportions, realistic presentation, highly detailed'
|
101 |
else:
|
102 |
+
_do = f'photographed { prompt_en }, natural dark muted vintage coloring, amazing scene, reasonable proportions, realistic presentation, highly detailed'
|
103 |
if prompt2_en == "":
|
104 |
_dont = 'smooth texture, fictional proportions, blurred content, distorted items, deformed palms, logos and signs, texts and prints'
|
105 |
else:
|