Speed up gradio.launch, especially when there's no internet (#4905)
* changes
* changes
* changes
* Revert "changes"
This reverts commit cbebf3915769c096154e3d3ece51f24a9e076b75.
* lint
* fix tests
* an
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>