Ricercar commited on
Commit
759a78f
1 Parent(s): 549b34c

turn off NSFW switch

Browse files
Files changed (2) hide show
  1. Home.py +2 -1
  2. pages/Gallery.py +1 -1
Home.py CHANGED
@@ -24,7 +24,8 @@ def login():
24
  )
25
  # st.write('You can leave it blank to be anonymous.')
26
 
27
- st.session_state.show_NSFW = st.toggle(':orange[show potentially mature content]', help='Inevitably, a few images might be NSFW, even if we tried to elimiate NFSW content in our prompts. We calculate a NSFW score to filter them out. Please check only if you are 18+ and want to take a look at the whole GEMRec-18k dataset', value=False, key='mature_content')
 
28
 
29
  # Every form must have a submit button.
30
  submitted = st.form_submit_button("Start")
 
24
  )
25
  # st.write('You can leave it blank to be anonymous.')
26
 
27
+ # st.session_state.show_NSFW = st.toggle(':orange[show potentially mature content]', help='Inevitably, a few images might be NSFW, even if we tried to elimiate NFSW content in our prompts. We calculate a NSFW score to filter them out. Please check only if you are 18+ and want to take a look at the whole GEMRec-18k dataset', value=False, key='mature_content')
28
+ st.session_state.show_NSFW = False # set to falso by default temporarily
29
 
30
  # Every form must have a submit button.
31
  submitted = st.form_submit_button("Start")
pages/Gallery.py CHANGED
@@ -133,7 +133,7 @@ class GalleryApp:
133
  st.caption("`Source: Parti-prompts`")
134
 
135
  # show image metadata
136
- image_metadatas = ['prompt_id', 'prompt', 'negativePrompt', 'sampler', 'cfgScale', 'size', 'seed']
137
  for key in image_metadatas:
138
  label = ' '.join(key.split('_')).capitalize()
139
  st.write(f"**{label}**")
 
133
  st.caption("`Source: Parti-prompts`")
134
 
135
  # show image metadata
136
+ image_metadatas = ['prompt', 'negativePrompt', 'sampler', 'cfgScale', 'size', 'seed']
137
  for key in image_metadatas:
138
  label = ' '.join(key.split('_')).capitalize()
139
  st.write(f"**{label}**")