Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,9 @@ if 'page' not in st.session_state:
|
|
| 16 |
|
| 17 |
# Initialize blur option as a toggle
|
| 18 |
if 'blur_option' not in st.session_state:
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Initialize sort options
|
| 22 |
if 'sort_option' not in st.session_state:
|
|
|
|
| 16 |
|
| 17 |
# Initialize blur option as a toggle
|
| 18 |
if 'blur_option' not in st.session_state:
|
| 19 |
+
# Blurのトグルを更新
|
| 20 |
+
st.session_state.blur_option = st.checkbox("NSFW画像にBlurをかける", value=st.session_state.blur_option, key="blur_toggle")
|
| 21 |
+
|
| 22 |
|
| 23 |
# Initialize sort options
|
| 24 |
if 'sort_option' not in st.session_state:
|