Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ model = model.eval()
|
|
44 |
|
45 |
coco_model = ClipCaptionModel(prefix_length)
|
46 |
coco_model.load_state_dict(torch.load('COCO_model.h5',map_location=torch.device('cpu')),strict=False)
|
47 |
-
|
48 |
|
49 |
|
50 |
def ui():
|
|
|
44 |
|
45 |
coco_model = ClipCaptionModel(prefix_length)
|
46 |
coco_model.load_state_dict(torch.load('COCO_model.h5',map_location=torch.device('cpu')),strict=False)
|
47 |
+
model = model.eval()
|
48 |
|
49 |
|
50 |
def ui():
|