Spaces:
Runtime error
Runtime error
Commit
·
07d8d5d
1
Parent(s):
6c5bbee
polishes, ckpt, etc.
Browse files
app.py
CHANGED
|
@@ -265,7 +265,12 @@ def choose(img, choice, calibrate_prompts, user_id, request: gr.Request):
|
|
| 265 |
img, calibrate_prompts = next_image(calibrate_prompts, user_id)
|
| 266 |
return img, calibrate_prompts
|
| 267 |
|
| 268 |
-
css = '''.gradio-container{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
#description{text-align: center}
|
| 270 |
#description h1, #description h3{display: block}
|
| 271 |
#description p{margin-top: 0}
|
|
@@ -347,6 +352,8 @@ Explore the latent space without text prompts based on your preferences. [rynmur
|
|
| 347 |
interactive=False,
|
| 348 |
elem_id="output_im",
|
| 349 |
type='filepath',
|
|
|
|
|
|
|
| 350 |
)
|
| 351 |
|
| 352 |
|
|
@@ -446,3 +453,5 @@ glob_idx = 0
|
|
| 446 |
demo.launch(share=True,)
|
| 447 |
|
| 448 |
|
|
|
|
|
|
|
|
|
| 265 |
img, calibrate_prompts = next_image(calibrate_prompts, user_id)
|
| 266 |
return img, calibrate_prompts
|
| 267 |
|
| 268 |
+
css = '''.gradio-container{
|
| 269 |
+
max-width: 700px !important;
|
| 270 |
+
align-items: center;
|
| 271 |
+
justify-content: center;
|
| 272 |
+
text-align: center
|
| 273 |
+
}
|
| 274 |
#description{text-align: center}
|
| 275 |
#description h1, #description h3{display: block}
|
| 276 |
#description p{margin-top: 0}
|
|
|
|
| 352 |
interactive=False,
|
| 353 |
elem_id="output_im",
|
| 354 |
type='filepath',
|
| 355 |
+
height=700,
|
| 356 |
+
width=700,
|
| 357 |
)
|
| 358 |
|
| 359 |
|
|
|
|
| 453 |
demo.launch(share=True,)
|
| 454 |
|
| 455 |
|
| 456 |
+
# TODO interface is shifted -- auto-resize images to all be the same.
|
| 457 |
+
|
last_epoch_ckpt/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 136790920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91ca25967a5dd1665b5fb8f1b4a45ba0f7ad0c23929daefb26b267816616e05d
|
| 3 |
size 136790920
|