Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ classifier_photo.eval()
|
|
120 |
|
121 |
classifier_art = create_classifier(**classifier_config)
|
122 |
classifier_art.load_state_dict(
|
123 |
-
torch.load('https://huggingface.co/Jack000/glid-3-xl-stable/resolve/main/classifier_art/model110000.pt', map_location="cpu")
|
124 |
)
|
125 |
classifier_art.to(device)
|
126 |
classifier_art.convert_to_fp16()
|
|
|
120 |
|
121 |
classifier_art = create_classifier(**classifier_config)
|
122 |
classifier_art.load_state_dict(
|
123 |
+
torch.load(fetch('https://huggingface.co/Jack000/glid-3-xl-stable/resolve/main/classifier_art/model110000.pt'), map_location="cpu")
|
124 |
)
|
125 |
classifier_art.to(device)
|
126 |
classifier_art.convert_to_fp16()
|