Spaces:
Runtime error
Runtime error
Update opp.py
Browse files
opp.py
CHANGED
|
@@ -17,7 +17,7 @@ Original file is located at
|
|
| 17 |
# !wget -nc https://huggingface.co/spaces/Seedmanc/batch-laion-aesthetic-predictor/resolve/main/sac%2Blogos%2Bava1-l14-linearMSE.pth
|
| 18 |
|
| 19 |
#@title CLIP dl & init { run: "auto", vertical-output: true, form-width: "25%", display-mode: "form" }
|
| 20 |
-
checkpoint = "ViT-L/14
|
| 21 |
import numpy as np
|
| 22 |
import torch
|
| 23 |
import pytorch_lightning as pl
|
|
|
|
| 17 |
# !wget -nc https://huggingface.co/spaces/Seedmanc/batch-laion-aesthetic-predictor/resolve/main/sac%2Blogos%2Bava1-l14-linearMSE.pth
|
| 18 |
|
| 19 |
#@title CLIP dl & init { run: "auto", vertical-output: true, form-width: "25%", display-mode: "form" }
|
| 20 |
+
checkpoint = "ViT-L/14" #@param ["ViT-L/14", "ViT-L/14@336px"]
|
| 21 |
import numpy as np
|
| 22 |
import torch
|
| 23 |
import pytorch_lightning as pl
|