UserWarning: Expected 2 arguments for function <function get_segments at 0x10aff3100>, received 1.
warnings.warn(
/Users/hugolin/Developer/todam-ticket-system/venv/lib/python3.11/site-packages/gradio/utils.py:981: UserWarning: Expected at least 2 arguments for function <function get_segments at 0x10aff3100>, received 1.
We have accidentally added an unnecessary variable named str. Additionally, str is a predefined variable name. We need to remove it to prevent potential errors.
https://github.com/TODAM-tw/todam-ticket-system/blob/0dd086e7c3b83e485e44a060eed4a6d33557e8d7/app/cases/segment.py#L9-L10
We have accidentally added an unnecessary variable named
str
. Additionally,str
is a predefined variable name. We need to remove it to prevent potential errors.