yfyangd commited on
Commit
8c9ecba
·
1 Parent(s): 52ae2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def interrogate(cover):
71
  for model_name in models:
72
  #print(f"Interrogating with {model_name}...")
73
  model, preprocess = clip.load(model_name)
74
- model.cuda().eval()
75
 
76
  images = preprocess(image).unsqueeze(0).cuda()
77
  with torch.no_grad():
 
71
  for model_name in models:
72
  #print(f"Interrogating with {model_name}...")
73
  model, preprocess = clip.load(model_name)
74
+ #model.cuda().eval()
75
 
76
  images = preprocess(image).unsqueeze(0).cuda()
77
  with torch.no_grad():