Fixed the thing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-06-14 03:45:56 +02:00
parent 62f35d53d2
commit cb18bd52ac

View File

@ -40,7 +40,7 @@ async def on_message(message: IncomingMessage):
r.raise_for_status()
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'])