ProfessorLeVesseur commited on
Commit
5555d7c
·
verified ·
1 Parent(s): 61752c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -50,11 +50,10 @@ if uploaded_file is not None and analyze_button:
50
 
51
  # Optimized prompt for additional clarity and detail
52
  prompt_text = (
53
- "You are a highly knowledgeable accessibility expert. "
54
- "Your task is to examine the following image in detail. "
55
- "Provide a comprehensive, factual, and accurate explanation of what the image depicts. "
56
- "Highlight key elements and their significance, and present your analysis in clear, well-structured paragraph format. "
57
- "Create a detailed image caption explaining in 150 words or less, using no bullet points, just one paragraph."
58
  )
59
 
60
  if show_details and additional_details:
 
50
 
51
  # Optimized prompt for additional clarity and detail
52
  prompt_text = (
53
+ "As an expert in image accessibility and alternative text, your task is to succinctly examine the image provided. "
54
+ "Deliver a comprehensive yet concise explanation, capturing the essence of the image, its key elements, and their significance. "
55
+ "Your description should form a clear, well-structured, and factual paragraph without exceeding 150 words. "
56
+ "Avoid bullet points, focusing on creating a seamless narrative that serves as effective alternative text for accessibility purposes."
 
57
  )
58
 
59
  if show_details and additional_details: