mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'allow-model-type-passthrough-on-probe' of github.com:invoke-ai/InvokeAI into allow-model-type-passthrough-on-probe
This commit is contained in:
commit
6a75c5ba08
@ -301,9 +301,6 @@ def mm2_session(embedding_file: Path, diffusers_dir: Path) -> Session:
|
|||||||
headers={"Content-Type": "application/json; charset=utf-8", "Content-Length": len(RepoHFMetadata1)},
|
headers={"Content-Type": "application/json; charset=utf-8", "Content-Length": len(RepoHFMetadata1)},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
with open(embedding_file, "rb") as f:
|
|
||||||
data = f.read() # file is small - just 15K
|
|
||||||
sess.mount(
|
sess.mount(
|
||||||
"https://huggingface.co/api/models/InvokeAI-test/textual_inversion_tests?blobs=True",
|
"https://huggingface.co/api/models/InvokeAI-test/textual_inversion_tests?blobs=True",
|
||||||
TestAdapter(
|
TestAdapter(
|
||||||
|
Loading…
Reference in New Issue
Block a user