Skip to content

Commit

Permalink
Fix input argument error with generic plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cfirth-nasa committed Sep 11, 2023
1 parent e8ca351 commit 5b2e9d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/generic/generic_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
from onair.src.data_driven_components.ai_plugin_abstract.core import AIPlugIn

class Plugin(AIPlugIn):
def apriori_training(self):
def apriori_training(self,batch_data=[]):
"""
Given data, system should learn any priors necessary for realtime diagnosis.
"""
pass

def update(self):
def update(self,frame=[]):
"""
Given streamed data point, system should update internally
"""
Expand Down

0 comments on commit 5b2e9d1

Please sign in to comment.