Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -87,11 +87,11 @@ def generate_random_string(length):
|
|
87 |
def Piper(_do,_dont):
|
88 |
return pipe(
|
89 |
_do,
|
90 |
-
height=
|
91 |
-
width=
|
92 |
negative_prompt=_dont,
|
93 |
num_inference_steps=50,
|
94 |
-
guidance_scale=
|
95 |
)
|
96 |
|
97 |
def infer(prompt_en,prompt2_en):
|
@@ -128,7 +128,7 @@ footer {
|
|
128 |
max-width: 15cm !important;
|
129 |
}
|
130 |
.image-container {
|
131 |
-
aspect-ratio:
|
132 |
}
|
133 |
.dropdown-arrow {
|
134 |
display: none !important;
|
|
|
87 |
def Piper(_do,_dont):
|
88 |
return pipe(
|
89 |
_do,
|
90 |
+
height=448,
|
91 |
+
width=480,
|
92 |
negative_prompt=_dont,
|
93 |
num_inference_steps=50,
|
94 |
+
guidance_scale=6
|
95 |
)
|
96 |
|
97 |
def infer(prompt_en,prompt2_en):
|
|
|
128 |
max-width: 15cm !important;
|
129 |
}
|
130 |
.image-container {
|
131 |
+
aspect-ratio: 480 / 448 !important;
|
132 |
}
|
133 |
.dropdown-arrow {
|
134 |
display: none !important;
|