ProfessorLeVesseur commited on
Commit
02fb06a
·
verified ·
1 Parent(s): d83bda5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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 should reflect why the image is being used."
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