Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def analyze_construction_image(images=None, video=None):
|
|
88 |
"content": [
|
89 |
{
|
90 |
"type": "text",
|
91 |
-
"text": f"Analyze this construction site image (Image {i+1}/{len(images)}). Identify any safety issues or hazards, categorize them, provide a detailed description, and suggest steps to resolve them."
|
92 |
},
|
93 |
{
|
94 |
"type": "image_url",
|
@@ -121,7 +121,7 @@ def analyze_construction_image(images=None, video=None):
|
|
121 |
"content": [
|
122 |
{
|
123 |
"type": "text",
|
124 |
-
"text": f"Analyze this frame from a construction site video (Frame {i+1}/5). Identify any safety issues or hazards, categorize them, provide a detailed description, and suggest steps to resolve them."
|
125 |
},
|
126 |
{
|
127 |
"type": "image_url",
|
|
|
88 |
"content": [
|
89 |
{
|
90 |
"type": "text",
|
91 |
+
"text": f"Analyze this construction site image (Image {i+1}/{len(images)}). Explain the image in detail. Identify any safety issues or hazards, categorize them, provide a detailed description, and suggest steps to resolve them."
|
92 |
},
|
93 |
{
|
94 |
"type": "image_url",
|
|
|
121 |
"content": [
|
122 |
{
|
123 |
"type": "text",
|
124 |
+
"text": f"Analyze this frame from a construction site video (Frame {i+1}/5). Explain what you observed in the video. Identify any safety issues or hazards, categorize them, provide a detailed description, and suggest steps to resolve them."
|
125 |
},
|
126 |
{
|
127 |
"type": "image_url",
|