For model_output_str in model_outputs_str: TypeError: 'NoneType' object is not iterable

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!

You are not providing us with sufficient information. We need to see your issue and related debug logs. Please tag us under the issue of your submission, especially at times when we expect a lot of queries.

I @ed you in my issue, thanks for help out!