Update JTP_PILOT2/inference_gradio.py
Browse files
JTP_PILOT2/inference_gradio.py
CHANGED
@@ -136,7 +136,7 @@ class GatedHead(torch.nn.Module):
|
|
136 |
|
137 |
model.head = GatedHead(min(model.head.weight.shape), 9083)
|
138 |
|
139 |
-
safetensors.torch.load_model(model, "JTP_PILOT2-
|
140 |
|
141 |
if torch.cuda.is_available():
|
142 |
model.cuda()
|
|
|
136 |
|
137 |
model.head = GatedHead(min(model.head.weight.shape), 9083)
|
138 |
|
139 |
+
safetensors.torch.load_model(model, "JTP_PILOT2-e3-vit_so400m_patch14_siglip_384.safetensors")
|
140 |
|
141 |
if torch.cuda.is_available():
|
142 |
model.cuda()
|