Closed lilysandstrom closed 1 month ago
NameError: name 'x' is not defined
Traceback:
File "/home/voje-lab/miniconda3/envs/deepbryo/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/home/voje-lab/Documents/GitHub/bryozoa/DeepBryo_micro/app/app-test.py", line 437, in <module>
main()
File "/home/voje-lab/Documents/GitHub/bryozoa/DeepBryo_micro/app/app-test.py", line 415, in main
uploaded_img.name,
File "/home/voje-lab/Documents/GitHub/bryozoa/DeepBryo_micro/app/app-test.py", line 210, in summarize
) = mask_stats(masks[num][idx])
File "/home/voje-lab/Documents/GitHub/bryozoa/DeepBryo_micro/app/app-test.py", line 176, in mask_stats
"center": {"x": x, "y": y},
following error: