Skip to content

Commit 65423d2

Browse files
authored
MIME type text/css (AUTOMATIC1111#16406)
1 parent c2bc187 commit 65423d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/ui.py

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
mimetypes.add_type('image/webp', '.webp')
4545
mimetypes.add_type('image/avif', '.avif')
4646

47+
# override potentially incorrect mimetypes
48+
mimetypes.add_type('text/css', '.css')
49+
4750
if not cmd_opts.share and not cmd_opts.listen:
4851
# fix gradio phoning home
4952
gradio.utils.version_check = lambda: None

0 commit comments

Comments
 (0)