fix: Replace undefined 'processed_result' with 'inference_result'
Fixed NameError where 'processed_result' was referenced but not defined. Should use 'inference_result' which contains the actual inference output from MultiDongle.get_latest_inference_result(). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
18f1426cbc
commit
23d8c4ff61
@ -257,8 +257,8 @@ class PipelineStage:
|
||||
inference_result = {'probability': 0.0, 'result': 'Processing', 'status': 'async'}
|
||||
|
||||
# Step 4: Update pipeline data
|
||||
pipeline_data.stage_results[self.stage_id] = processed_result
|
||||
pipeline_data.data = processed_result # Pass result as data to next stage
|
||||
pipeline_data.stage_results[self.stage_id] = inference_result
|
||||
pipeline_data.data = inference_result # Pass result as data to next stage
|
||||
pipeline_data.metadata[f'{self.stage_id}_timestamp'] = time.time()
|
||||
|
||||
return pipeline_data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user