You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
candidate_topics = model_input["valid_topics"] + model_input["invalid_topics"]
to
candidate_topics = list(model_input["valid_topics"]) + list(model_input["invalid_topics"])
please make the change so that it works in deployed version also
The text was updated successfully, but these errors were encountered:
When I try to run the local classifier without making an LLM called the following line results in an error:
https://github.com/tryolabs/restricttotopic/blob/main/validator/main.py#L360
TypeError: unsupported operand type(s) for +: 'set' and 'set'
Which I believe is a simple fix from
candidate_topics = model_input["valid_topics"] + model_input["invalid_topics"]
to
candidate_topics = list(model_input["valid_topics"]) + list(model_input["invalid_topics"])
please make the change so that it works in deployed version also
The text was updated successfully, but these errors were encountered: