Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -85,12 +85,12 @@ def generate_random_string(length):
|
|
85 |
characters = string.ascii_letters + string.digits
|
86 |
return ''.join(random.choice(characters) for _ in range(length))
|
87 |
|
88 |
-
@spaces.GPU(duration=
|
89 |
def Piper(_do,_dont):
|
90 |
return pipe(
|
91 |
_do,
|
92 |
height=512,
|
93 |
-
width=
|
94 |
negative_prompt=_dont,
|
95 |
num_inference_steps=50, # 400
|
96 |
guidance_scale=6 # 10
|
@@ -132,7 +132,7 @@ footer {
|
|
132 |
max-width: 15cm !important;
|
133 |
}
|
134 |
#image-container {
|
135 |
-
aspect-ratio:
|
136 |
}
|
137 |
.dropdown-arrow {
|
138 |
display: none !important;
|
|
|
85 |
characters = string.ascii_letters + string.digits
|
86 |
return ''.join(random.choice(characters) for _ in range(length))
|
87 |
|
88 |
+
@spaces.GPU(duration=19) # 120
|
89 |
def Piper(_do,_dont):
|
90 |
return pipe(
|
91 |
_do,
|
92 |
height=512,
|
93 |
+
width=600, # 1024
|
94 |
negative_prompt=_dont,
|
95 |
num_inference_steps=50, # 400
|
96 |
guidance_scale=6 # 10
|
|
|
132 |
max-width: 15cm !important;
|
133 |
}
|
134 |
#image-container {
|
135 |
+
aspect-ratio: 600 / 512 !important;
|
136 |
}
|
137 |
.dropdown-arrow {
|
138 |
display: none !important;
|