Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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():
|