ProfessorLeVesseur commited on
Commit
23a07fa
·
verified ·
1 Parent(s): f75c619

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,9 +47,9 @@ analyze_button = st.button("Analyze the Image", type="secondary")
47
  # Optimized prompt for complex images
48
  complex_image_prompt_text = (
49
  "As an expert in image accessibility and alternative text, thoroughly describe the image provided. "
50
- "Provide a brief description using not more than 500 characters that convey the essential information conveyed by the image in eight or fewer clear and concise sentences for use as alt text. "
51
  "Skip phrases like 'image of' or 'picture of.' "
52
- "Your description should form a clear, well-structured, and factual paragraph that avoids bullet points, focusing on creating a seamless narrative that serves as effective alternative text for accessibility purposes."
53
  )
54
 
55
  # Check if an image has been uploaded, if the API key is available, and if the button has been pressed
 
47
  # Optimized prompt for complex images
48
  complex_image_prompt_text = (
49
  "As an expert in image accessibility and alternative text, thoroughly describe the image provided. "
50
+ "Provide a brief description using not more than 500 characters that convey the essential information conveyed by the image in eight or fewer clear and concise sentences. "
51
  "Skip phrases like 'image of' or 'picture of.' "
52
+ "Your description should form a clear, well-structured, and factual paragraph that avoids bullet points, focusing on creating a seamless narrative."
53
  )
54
 
55
  # Check if an image has been uploaded, if the API key is available, and if the button has been pressed