Merge pull request #492 from Randomblock1/patch-1

Fix #460
This commit is contained in:
Qing 2024-03-21 18:31:50 +08:00 committed by GitHub
commit db949b5536
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,12 @@ import json
import os import os
from pathlib import Path 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 ( from iopaint.schema import (
Device, Device,
InteractiveSegModel, InteractiveSegModel,