Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,13 +60,8 @@ def load_examples():
|
|
| 60 |
examples = []
|
| 61 |
test_img_dir = "./test_imgs"
|
| 62 |
example_prompts = [
|
| 63 |
-
"a cat sitting by the window",
|
| 64 |
-
"a peaceful mountain village",
|
| 65 |
-
"a young girl with flowers in her hair",
|
| 66 |
"a magical forest with spirits",
|
| 67 |
"a flying castle in the clouds",
|
| 68 |
-
"a serene river with boats",
|
| 69 |
-
"a cozy cottage in the countryside",
|
| 70 |
"a bustling market in a small town"
|
| 71 |
]
|
| 72 |
|
|
@@ -80,16 +75,7 @@ def load_examples():
|
|
| 80 |
height, width = 560, 1024
|
| 81 |
elif filename == "03.png":
|
| 82 |
height, width = 568, 1024
|
| 83 |
-
|
| 84 |
-
height, width = 768, 672
|
| 85 |
-
elif filename == "06.png":
|
| 86 |
-
height, width = 896, 1024
|
| 87 |
-
elif filename == "07.png":
|
| 88 |
-
height, width = 528, 800
|
| 89 |
-
elif filename == "08.png":
|
| 90 |
-
height, width = 696, 1024
|
| 91 |
-
elif filename == "09.png":
|
| 92 |
-
height, width = 896, 1024
|
| 93 |
else:
|
| 94 |
height, width = 768, 768
|
| 95 |
|
|
|
|
| 60 |
examples = []
|
| 61 |
test_img_dir = "./test_imgs"
|
| 62 |
example_prompts = [
|
|
|
|
|
|
|
|
|
|
| 63 |
"a magical forest with spirits",
|
| 64 |
"a flying castle in the clouds",
|
|
|
|
|
|
|
| 65 |
"a bustling market in a small town"
|
| 66 |
]
|
| 67 |
|
|
|
|
| 75 |
height, width = 560, 1024
|
| 76 |
elif filename == "03.png":
|
| 77 |
height, width = 568, 1024
|
| 78 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
else:
|
| 80 |
height, width = 768, 768
|
| 81 |
|