Sorting height problems
Browse files
main.py
CHANGED
@@ -25,7 +25,7 @@ def main():
|
|
25 |
for img_file in img_files or []:
|
26 |
img_bytes = img_file.read()
|
27 |
caption = img_caption.get_caption(img_bytes)
|
28 |
-
st.image(image=img_bytes, caption=caption, width=250
|
29 |
generated_topics = topic_generator.generate_topics(caption)
|
30 |
for idx, topic in enumerate(generated_topics, 1):
|
31 |
st.write(f"Topic {idx}: {topic}")
|
@@ -35,7 +35,7 @@ def main():
|
|
35 |
if url_input:
|
36 |
img_load = load_image(check_url(url_input))
|
37 |
caption = img_caption.get_caption(img_load)
|
38 |
-
st.image(image=img_load, caption=caption, width=250
|
39 |
generated_topics = topic_generator.generate_topics(caption)
|
40 |
for idx, topic in enumerate(generated_topics, 1):
|
41 |
st.write(f"Topic {idx}: {topic}")
|
|
|
25 |
for img_file in img_files or []:
|
26 |
img_bytes = img_file.read()
|
27 |
caption = img_caption.get_caption(img_bytes)
|
28 |
+
st.image(image=img_bytes, caption=caption, width=250)
|
29 |
generated_topics = topic_generator.generate_topics(caption)
|
30 |
for idx, topic in enumerate(generated_topics, 1):
|
31 |
st.write(f"Topic {idx}: {topic}")
|
|
|
35 |
if url_input:
|
36 |
img_load = load_image(check_url(url_input))
|
37 |
caption = img_caption.get_caption(img_load)
|
38 |
+
st.image(image=img_load, caption=caption, width=250)
|
39 |
generated_topics = topic_generator.generate_topics(caption)
|
40 |
for idx, topic in enumerate(generated_topics, 1):
|
41 |
st.write(f"Topic {idx}: {topic}")
|