Spaces:
Runtime error
Runtime error
Can't handle negative values
#1
by sgbaird - opened
Topic: USS-DBS51-30/{pico_id}
QoS: 0
{"Current Weight": "- 14.8g", "Date": "2025-03-26", "Time": "15:12:40"}
Error processing message: could not convert string to float: '- 14.7'
In general it might be better to use a variable name: weight_g with just a float. The space between - and 14.8g is also problematic.
@evelyn-nesher19 something rather strange going on with the scale data. Originally throwing the error above, but when I corrected the parsing issue, it's showing an increase in the weight as if it's a running sum:
Switched to matplotlib, seems to be working ok. I think plotly may not be supported by gradio
sgbaird changed discussion status to closed
