Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ model = timm.create_model(
|
|
126 |
safetensors.torch.load_model(model, "JTP_PILOT-e4-vit_so400m_patch14_siglip_384.safetensors")
|
127 |
model.eval()
|
128 |
|
129 |
-
with open("
|
130 |
tags = json.load(file) # type: dict
|
131 |
allowed_tags = tags.keys()
|
132 |
|
|
|
126 |
safetensors.torch.load_model(model, "JTP_PILOT-e4-vit_so400m_patch14_siglip_384.safetensors")
|
127 |
model.eval()
|
128 |
|
129 |
+
with open("tagger_tags.json", "r") as file:
|
130 |
tags = json.load(file) # type: dict
|
131 |
allowed_tags = tags.keys()
|
132 |
|