MegaMosquito / achatina

Some slowly evolving examples that do visual inferencing on small computers.
MIT License
9 stars 9 forks source link

Replace `**locals()` with a context dictionary #77

Closed clementkng closed 2 years ago

clementkng commented 2 years ago

In monitor, the locals() call passes along a number of variables not needed, including the entire json payload. We should construct a context dictionary to pass only the values we need to fill the template.