Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -137,7 +137,7 @@ class Model:
|
|
| 137 |
t1 = time.time()
|
| 138 |
print(caption_embs.device)
|
| 139 |
index_sample = generate(
|
| 140 |
-
self.
|
| 141 |
c_indices,
|
| 142 |
(H // 16) * (W // 16),
|
| 143 |
c_emb_masks,
|
|
|
|
| 137 |
t1 = time.time()
|
| 138 |
print(caption_embs.device)
|
| 139 |
index_sample = generate(
|
| 140 |
+
self.gpt_model_edge,
|
| 141 |
c_indices,
|
| 142 |
(H // 16) * (W // 16),
|
| 143 |
c_emb_masks,
|