Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -134,31 +134,17 @@ def get_analysis_prompt(step_number, possible_reasons):
|
|
134 |
- Are they repairing the inner liner or sidewall? This indicates an issue with material application or alignment.
|
135 |
- Are they manually adjusting components or reworking parts? This suggests equipment malfunction or material misalignment.
|
136 |
|
137 |
-
#### Material and Process Observations:
|
138 |
-
- Identify signs of material defects such as:
|
139 |
-
- **Misaligned layers**: Visualize if any tire layer is improperly positioned.
|
140 |
-
- **Damaged materials**: Check for tears, wrinkles, or missing parts.
|
141 |
-
- **Incomplete processes**: Confirm whether all steps were executed correctly (e.g., liner application, bead insertion).
|
142 |
-
- Look for excessive manual handling, which might indicate inadequate machine performance.
|
143 |
-
|
144 |
-
#### Equipment and Machine Performance:
|
145 |
-
- Evaluate machine operation for:
|
146 |
-
- Pauses, stutters, or complete stoppages.
|
147 |
-
- Improper alignment during automatic processes.
|
148 |
-
- Speed inconsistencies compared to the standard time.
|
149 |
-
|
150 |
#### Task-Specific Indicators:
|
151 |
- **Carcass Handling**: Ensure technicians are promptly collecting and loading carcasses when required.
|
152 |
- **Inner Liner Repair**: Note if technicians are involved in patching or reapplying the inner liner.
|
153 |
- **Sidewall Repair**: Identify if technicians are working to fix damaged or misaligned sidewalls.
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
5. **Recommendations**: [Suggest corrective actions to address the identified delay cause, such as equipment maintenance, technician training, or material quality checks.]
|
162 |
|
163 |
### Key Considerations:
|
164 |
- **Observe Frame-by-Frame**: Carefully analyze each frame to capture subtleties, such as technician actions, material defects, or machine behavior.
|
@@ -167,7 +153,7 @@ def get_analysis_prompt(step_number, possible_reasons):
|
|
167 |
|
168 |
### Note:
|
169 |
- Prioritize identifying technician involvement in carcass handling, inner liner, or sidewall repair, as these are critical delay causes.
|
170 |
-
|
171 |
"""
|
172 |
|
173 |
|
|
|
134 |
- Are they repairing the inner liner or sidewall? This indicates an issue with material application or alignment.
|
135 |
- Are they manually adjusting components or reworking parts? This suggests equipment malfunction or material misalignment.
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
#### Task-Specific Indicators:
|
138 |
- **Carcass Handling**: Ensure technicians are promptly collecting and loading carcasses when required.
|
139 |
- **Inner Liner Repair**: Note if technicians are involved in patching or reapplying the inner liner.
|
140 |
- **Sidewall Repair**: Identify if technicians are working to fix damaged or misaligned sidewalls.
|
141 |
|
142 |
+
Please provide your analysis in the following format:
|
143 |
+
1. Selected Reason: [State the most likely reason from the given options]
|
144 |
+
2. Visual Evidence: [Describe specific visual cues that support your selection]
|
145 |
+
3. Reasoning: [Explain why this reason best matches the observed evidence]
|
146 |
+
4. Alternative Analysis: [Brief explanation of why other possible reasons are less likely]
|
147 |
+
Important: Base your analysis solely on visual evidence from the video. Focus on concrete, observable details rather than assumptions. Clearly state if no person or specific activity is observed.
|
|
|
148 |
|
149 |
### Key Considerations:
|
150 |
- **Observe Frame-by-Frame**: Carefully analyze each frame to capture subtleties, such as technician actions, material defects, or machine behavior.
|
|
|
153 |
|
154 |
### Note:
|
155 |
- Prioritize identifying technician involvement in carcass handling, inner liner, or sidewall repair, as these are critical delay causes.
|
156 |
+
|
157 |
"""
|
158 |
|
159 |
|