Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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
|
|
|
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
|