Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,9 +60,9 @@ def load_examples():
|
|
| 60 |
examples = []
|
| 61 |
test_img_dir = "./test_imgs"
|
| 62 |
example_prompts = [
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
| 66 |
]
|
| 67 |
|
| 68 |
for i, filename in enumerate(["00.jpg", "02.jpg", "03.jpg"]):
|
|
@@ -74,7 +74,7 @@ def load_examples():
|
|
| 74 |
elif filename == "02.jpg":
|
| 75 |
height, width = 560, 1024
|
| 76 |
elif filename == "03.jpg":
|
| 77 |
-
height, width =
|
| 78 |
else:
|
| 79 |
height, width = 768, 768
|
| 80 |
|
|
|
|
| 60 |
examples = []
|
| 61 |
test_img_dir = "./test_imgs"
|
| 62 |
example_prompts = [
|
| 63 |
+
" ",
|
| 64 |
+
"saying 'HELLO' in 'speech bubble'",
|
| 65 |
+
"background 'alps'"
|
| 66 |
]
|
| 67 |
|
| 68 |
for i, filename in enumerate(["00.jpg", "02.jpg", "03.jpg"]):
|
|
|
|
| 74 |
elif filename == "02.jpg":
|
| 75 |
height, width = 560, 1024
|
| 76 |
elif filename == "03.jpg":
|
| 77 |
+
height, width = 1024, 768
|
| 78 |
else:
|
| 79 |
height, width = 768, 768
|
| 80 |
|