mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
improved error reporting when a missing online dependency can't be downloaded
This commit is contained in:
@ -5,13 +5,13 @@
|
||||
# two machines must share a common .cache directory.
|
||||
|
||||
# this will preload the Bert tokenizer fles
|
||||
print("preloading bert tokenizer...",end='')
|
||||
print("preloading bert tokenizer...")
|
||||
from transformers import BertTokenizerFast
|
||||
tokenizer = BertTokenizerFast.from_pretrained("bert-base-uncased")
|
||||
print("...success")
|
||||
|
||||
# this will download requirements for Kornia
|
||||
print("preloading Kornia requirements...",end='')
|
||||
print("preloading Kornia requirements...")
|
||||
import kornia
|
||||
print("...success")
|
||||
|
||||
|
Reference in New Issue
Block a user