Updating typing in `utils.py` and `templates.py` (#2904)
* typing
* typing
* typing
* updated CHANGELOG.md
* typing
* typing
* typing
* typing
* Update max_args count to be -1 if positional param type
max_args would be set to the value of "infinity" when the param was of VAR_POSITIONAL type. That makes max_args hold both int and string values.
Updated the max_args to be set to -1 value.
* Updated to use same response and not previous response for validation
* Keep self._response uninitialized
* Updated to use empty BaseModel when not validation_model not present
* Reference `BlockContext` directly
* initializing end as 0 in format_net_list
* Updating docs for error_analytics
* Update file version check in utils
* Update gradio.strings import
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* Add utils.py and templates.py to type check script
* fixed changelog
* Update formatting of utils.py
* rerun ci
* flagging fix
* fix typing
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>