Update web_config.py

This commit is contained in:
Benjamin G 2024-03-21 01:08:50 -05:00 committed by GitHub
parent bf7eba1d85
commit 3211b3e6af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,12 @@ import json
import os
from pathlib import Path
import mimetypes
# fix for windows mimetypes registry entries being borked
# see https://github.com/invoke-ai/InvokeAI/discussions/3684#discussioncomment-6391352
mimetypes.add_type('application/javascript', '.js')
mimetypes.add_type('text/css', '.css')
from iopaint.schema import (
Device,
InteractiveSegModel,