Spaces:
Running
Running
small instruction fixes
Browse files- Home.py +1 -1
- pages/Gallery.py +5 -3
Home.py
CHANGED
@@ -93,8 +93,8 @@ if __name__ == '__main__':
|
|
93 |
st.write('### FAQ')
|
94 |
with st.expander(label='**🤔 How to use this webapp?**'):
|
95 |
st.write('### Check out the demo video below')
|
|
|
96 |
st.video('https://youtu.be/EjjCoeUSZF0')
|
97 |
-
st.caption('Interface shown in this video demo might be a bit different from the current webapp because of further updates, but the basic idea is the same.')
|
98 |
|
99 |
with st.expander(label='**ℹ️ What is GEMRec project?**'):
|
100 |
st.write('### About GEMRec')
|
|
|
93 |
st.write('### FAQ')
|
94 |
with st.expander(label='**🤔 How to use this webapp?**'):
|
95 |
st.write('### Check out the demo video below')
|
96 |
+
st.info('Interface shown in this video demo is a bit different from the current webapp because it\'s outdated, but the basic idea is the same.')
|
97 |
st.video('https://youtu.be/EjjCoeUSZF0')
|
|
|
98 |
|
99 |
with st.expander(label='**ℹ️ What is GEMRec project?**'):
|
100 |
st.write('### About GEMRec')
|
pages/Gallery.py
CHANGED
@@ -235,10 +235,10 @@ class GalleryApp:
|
|
235 |
|
236 |
if selected_prompt is None:
|
237 |
# st.markdown(':orange[Please select a prompt above👆]')
|
238 |
-
st.
|
239 |
|
240 |
with subset_selector[-1]:
|
241 |
-
st.
|
242 |
|
243 |
else:
|
244 |
items = items[items['prompt'] == selected_prompt].reset_index(drop=True)
|
@@ -285,7 +285,7 @@ class GalleryApp:
|
|
285 |
# print(st.session_state.gallery_state)
|
286 |
st.experimental_rerun()
|
287 |
else:
|
288 |
-
st.
|
289 |
try:
|
290 |
self.sidebar(items, prompt_id, note)
|
291 |
except:
|
@@ -309,6 +309,8 @@ class GalleryApp:
|
|
309 |
# switch_page("ranking")
|
310 |
|
311 |
with graph_cols[0]:
|
|
|
|
|
312 |
graph_space = st.empty()
|
313 |
|
314 |
with graph_space.container():
|
|
|
235 |
|
236 |
if selected_prompt is None:
|
237 |
# st.markdown(':orange[Please select a prompt above👆]')
|
238 |
+
st.caption('Feel free to **navigate among tags and pages**! Your selection will be saved within one log-in session.')
|
239 |
|
240 |
with subset_selector[-1]:
|
241 |
+
st.button(':orange[👈 **Please select a prompt**]', disabled=True, use_container_width=True)
|
242 |
|
243 |
else:
|
244 |
items = items[items['prompt'] == selected_prompt].reset_index(drop=True)
|
|
|
285 |
# print(st.session_state.gallery_state)
|
286 |
st.experimental_rerun()
|
287 |
else:
|
288 |
+
st.button(':orange[👇 **Select images you like below**]', disabled=True, use_container_width=True)
|
289 |
try:
|
290 |
self.sidebar(items, prompt_id, note)
|
291 |
except:
|
|
|
309 |
# switch_page("ranking")
|
310 |
|
311 |
with graph_cols[0]:
|
312 |
+
st.caption(
|
313 |
+
'Please **:red[click on and select]** as many images as you like! You will be able to compare them later in ranking stage.')
|
314 |
graph_space = st.empty()
|
315 |
|
316 |
with graph_space.container():
|