Spaces:
Build error
Build error
centering image ofc
Browse files
app.py
CHANGED
|
@@ -124,10 +124,10 @@ image_dict = imageLoader.transform(image)
|
|
| 124 |
|
| 125 |
show_image = imageLoader.show_resize(image)
|
| 126 |
|
| 127 |
-
show = st.image(show_image)
|
| 128 |
-
show.image(show_image)
|
| 129 |
-
|
| 130 |
with center:
|
|
|
|
|
|
|
|
|
|
| 131 |
if sub is None and imageLoader.text_transform(cap_prompt) is not "":
|
| 132 |
st.write("Without a specified subreddit we default to /r/pics")
|
| 133 |
for i in range(num_captions):
|
|
|
|
| 124 |
|
| 125 |
show_image = imageLoader.show_resize(image)
|
| 126 |
|
|
|
|
|
|
|
|
|
|
| 127 |
with center:
|
| 128 |
+
show = st.image(show_image)
|
| 129 |
+
show.image(show_image)
|
| 130 |
+
|
| 131 |
if sub is None and imageLoader.text_transform(cap_prompt) is not "":
|
| 132 |
st.write("Without a specified subreddit we default to /r/pics")
|
| 133 |
for i in range(num_captions):
|