Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -6
src/streamlit_app.py
CHANGED
|
@@ -181,12 +181,12 @@ The goal of this system is to retrieve the most relevant fashion images based on
|
|
| 181 |
- **Objective**: Given a prompt like "red dress", the system retrieves the most relevant images.
|
| 182 |
""")
|
| 183 |
|
| 184 |
-
# Example to show some images
|
| 185 |
-
st.subheader("Some sample images and their captions:")
|
| 186 |
-
example = [13422, 10037, 38246, 23273, 2008]
|
| 187 |
-
example_cols = st.columns(5) # Chia thành 5 cột
|
| 188 |
-
for idx, img_id in enumerate(example):
|
| 189 |
-
|
| 190 |
|
| 191 |
# Chạy ví dụ với prompt
|
| 192 |
st.subheader("Example usage: enter a prompt to retrieve related images")
|
|
|
|
| 181 |
- **Objective**: Given a prompt like "red dress", the system retrieves the most relevant images.
|
| 182 |
""")
|
| 183 |
|
| 184 |
+
# # Example to show some images
|
| 185 |
+
# st.subheader("Some sample images and their captions:")
|
| 186 |
+
# example = [13422, 10037, 38246, 23273, 2008]
|
| 187 |
+
# example_cols = st.columns(5) # Chia thành 5 cột
|
| 188 |
+
# for idx, img_id in enumerate(example):
|
| 189 |
+
# show_img(img_id, None, example_cols[idx])
|
| 190 |
|
| 191 |
# Chạy ví dụ với prompt
|
| 192 |
st.subheader("Example usage: enter a prompt to retrieve related images")
|