This commit is contained in:
parent
62f35d53d2
commit
cb18bd52ac
@ -40,7 +40,7 @@ async def on_message(message: IncomingMessage):
|
|||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
|
|
||||||
fields = {
|
fields = {
|
||||||
k: float(v) for k, v in msg_json['all_predictions']
|
k: float(v) for k, v in msg_json['all_predictions'].items()
|
||||||
}
|
}
|
||||||
fields['_classification_duration'] = float(msg_json['classification_duration'])
|
fields['_classification_duration'] = float(msg_json['classification_duration'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user