OSError: Can't load config for 'MariamD/my-t5-qa-legal'

I trained the t5 model and upload it manually in the hugging face model hub
but when I want to download it :

from transformers import T5ForConditionalGeneration, T5Tokenizer

T5ForConditionalGeneration.from_pretrained('MariamD/my-t5-qa-legal')
It gives me the error:
OSError: Can't load config for 'MariamD/my-t5-qa-legal'. Make sure that:

- 'MariamD/my-t5-qa-legal' is a correct model identifier listed on 'https://huggingface.co/models'

- or 'MariamD/my-t5-qa-legal' is the correct path to a directory containing a config.json file