This commit is contained in:
parent
cb18bd52ac
commit
27b2d062ae
@ -43,6 +43,7 @@ async def on_message(message: IncomingMessage):
|
||||
k: float(v) for k, v in msg_json['all_predictions'].items()
|
||||
}
|
||||
fields['_classification_duration'] = float(msg_json['classification_duration'])
|
||||
fields['_legacy_result'] = 1.0 if msg_json['class'] == 'sturnus' else 0.0
|
||||
|
||||
point = {
|
||||
'time': now,
|
||||
|
Loading…
Reference in New Issue
Block a user