1 parent 57e8a11 commit e866c35Copy full SHA for e866c35
1 file changed
modules/ui.py
@@ -41,6 +41,9 @@
41
mimetypes.init()
42
mimetypes.add_type('application/javascript', '.js')
43
44
+# Likewise, add explicit content-type header for certain missing image types
45
+mimetypes.add_type('image/webp', '.webp')
46
+
47
if not cmd_opts.share and not cmd_opts.listen:
48
# fix gradio phoning home
49
gradio.utils.version_check = lambda: None
0 commit comments