Spaces:
Runtime error
Runtime error
Update predict.py
Browse files- predict.py +1 -1
predict.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
import torch.nn.functional as F
|
5 |
from model import CustomModel
|
6 |
|
7 |
-
CKPT = 'fold_0
|
8 |
Targets = ['Not AI' 'AI Generated']
|
9 |
def predict_one_image(path) :
|
10 |
image = read_image(path)
|
|
|
4 |
import torch.nn.functional as F
|
5 |
from model import CustomModel
|
6 |
|
7 |
+
CKPT = 'fold_0'
|
8 |
Targets = ['Not AI' 'AI Generated']
|
9 |
def predict_one_image(path) :
|
10 |
image = read_image(path)
|