Notice the “/file=” at the beginning of the URL. Starting with Gradio 4.0, you’ll also need to specify that Gradio should allow access to files in your working directory. You can do so with by setting the allowed_paths parameter in launch() to be ["Fonts/MY_TheSans_Web/MyTheSans-Light.eot"]