my submission meets the problem:
Traceback (most recent call last):
File "/home/aicrowd/runner.py", line 169, in run_task
for model_output_str in model_outputs_str:
TypeError: 'NoneType' object is not iterable
Error validating model output.
even if i did something like this, to prevent none output:
batch_response = []
for response in responses:
if response.outputs[0].text is None:
batch_response.append("")
else:
batch_response.append(response.outputs[0].text)
return batch_response
I dont know what is happening, hope anyone can help and make it right, thanks!