Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,6 +151,8 @@ Your task is to analyze video footage from Step {step_number} of a tire manufact
|
|
| 151 |
|
| 152 |
Provide an analysis of the video by determining the most likely cause of delay in this step, and explain why this conclusion was reached based on the visual evidence."""
|
| 153 |
|
|
|
|
|
|
|
| 154 |
def inference(video, step_number):
|
| 155 |
"""Analyzes video to predict possible issues based on the manufacturing step."""
|
| 156 |
try:
|
|
|
|
| 151 |
|
| 152 |
Provide an analysis of the video by determining the most likely cause of delay in this step, and explain why this conclusion was reached based on the visual evidence."""
|
| 153 |
|
| 154 |
+
model, tokenizer = load_model()
|
| 155 |
+
|
| 156 |
def inference(video, step_number):
|
| 157 |
"""Analyzes video to predict possible issues based on the manufacturing step."""
|
| 158 |
try:
|