Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,8 @@ if uploaded_file:
|
|
29 |
st.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
|
30 |
|
31 |
# Toggle for showing additional details input
|
32 |
-
show_details = st.toggle("Optional: Add details about the image."
|
33 |
-
"The details
|
34 |
-
"Consider what information the image contributes to the content and convey in the details.", value=False)
|
35 |
|
36 |
if show_details:
|
37 |
# Text input for additional details about the image, shown only if toggle is True
|
|
|
29 |
st.image(uploaded_file, caption=uploaded_file.name, width=image_width, use_column_width=False)
|
30 |
|
31 |
# Toggle for showing additional details input
|
32 |
+
show_details = st.toggle("Optional: Add details about the image. "
|
33 |
+
"The details could include specific information that is important to include in the alt text or reflect why the image is being used.", value=False)
|
|
|
34 |
|
35 |
if show_details:
|
36 |
# Text input for additional details about the image, shown only if toggle is True
|