Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2034,36 +2034,36 @@ def create_ui():
|
|
2034 |
multiselect=True,
|
2035 |
label="Score", info="Please sort the pictures according to your preference"
|
2036 |
)
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
|
2068 |
|
2069 |
with gr.Column(scale=4,visible=False) as reco_reasons:
|
|
|
2034 |
multiselect=True,
|
2035 |
label="Score", info="Please sort the pictures according to your preference"
|
2036 |
)
|
2037 |
+
with gr.Column(scale=3):
|
2038 |
+
gallery_result = gr.Gallery(
|
2039 |
+
label="Recommendations Based on Item",
|
2040 |
+
height="auto",
|
2041 |
+
columns=2
|
2042 |
+
# columns=4,
|
2043 |
+
# rows=2,
|
2044 |
+
# show_label=False,
|
2045 |
+
# allow_preview=True,
|
2046 |
+
# object_fit="contain",
|
2047 |
+
# height="auto",
|
2048 |
+
# preview=True,
|
2049 |
+
# show_share_button=True,
|
2050 |
+
# show_download_button=True
|
2051 |
+
)
|
2052 |
+
with gr.Column(scale=3):
|
2053 |
+
style_gallery_result = gr.Gallery(
|
2054 |
+
label="Recommendations Based on Style",
|
2055 |
+
height="auto",
|
2056 |
+
columns=2
|
2057 |
+
# columns=4,
|
2058 |
+
# rows=2,
|
2059 |
+
# show_label=False,
|
2060 |
+
# allow_preview=True,
|
2061 |
+
# object_fit="contain",
|
2062 |
+
# height="auto",
|
2063 |
+
# preview=True,
|
2064 |
+
# show_share_button=True,
|
2065 |
+
# show_download_button=True
|
2066 |
+
)
|
2067 |
|
2068 |
|
2069 |
with gr.Column(scale=4,visible=False) as reco_reasons:
|