Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,21 +117,17 @@ def get_analysis_prompt(step_number, possible_reasons):
|
|
117 |
You are an advanced AI expert system specialized in analyzing manufacturing processes to diagnose production delays. Your task is to analyze video footage from Step {step_number} of a tire manufacturing process, where a delay has been identified. Based on visual evidence in the footage, determine the most accurate reason for the delay.
|
118 |
|
119 |
### Required Analysis:
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
- Check for machine pauses, material misalignment, or missing components that could indicate equipment or process failures.
|
127 |
-
- Observe whether a technician is collecting or loading the carcass, as delays in this activity may signal inefficiencies or staffing issues.
|
128 |
-
|
129 |
### Output Requirements:
|
130 |
Provide your analysis in the following structured format:
|
131 |
1. **Selected Reason**: [State the most likely reason from the given options]
|
132 |
2. **Visual Evidence**: [Describe key observations from the video that support the selected reason]
|
133 |
3. **Reasoning**: [Explain why this reason aligns best with the observed evidence]
|
134 |
-
4. **Alternative Analysis**: [Briefly outline why other possible reasons are less likely]
|
135 |
|
136 |
### Important:
|
137 |
- Base your conclusions solely on observable evidence from the video.
|
|
|
117 |
You are an advanced AI expert system specialized in analyzing manufacturing processes to diagnose production delays. Your task is to analyze video footage from Step {step_number} of a tire manufacturing process, where a delay has been identified. Based on visual evidence in the footage, determine the most accurate reason for the delay.
|
118 |
|
119 |
### Required Analysis:
|
120 |
+
Carefully observe the video for visual cues indicating production interruption.
|
121 |
+
If no person is visible in any of the frames, the reason probably might be due to his absence.
|
122 |
+
If a person is visible in the video and is observed touching and modifying the layers of the tire, it means there is a issue with tyre being patched hence he is repairing it.
|
123 |
+
Compare observed evidence against each possible delay reason.
|
124 |
+
Select the most likely reason based on visual evidence.
|
125 |
+
|
|
|
|
|
|
|
126 |
### Output Requirements:
|
127 |
Provide your analysis in the following structured format:
|
128 |
1. **Selected Reason**: [State the most likely reason from the given options]
|
129 |
2. **Visual Evidence**: [Describe key observations from the video that support the selected reason]
|
130 |
3. **Reasoning**: [Explain why this reason aligns best with the observed evidence]
|
|
|
131 |
|
132 |
### Important:
|
133 |
- Base your conclusions solely on observable evidence from the video.
|