Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,6 @@ def index(file):
|
|
78 |
shuffle=False,
|
79 |
collate_fn=lambda x: process_images(processor, x),
|
80 |
)
|
81 |
-
ds = ["test", "double test"]
|
82 |
for batch_doc in tqdm(dataloader):
|
83 |
with torch.no_grad():
|
84 |
batch_doc = {k: v.to(device) for k, v in batch_doc.items()}
|
|
|
78 |
shuffle=False,
|
79 |
collate_fn=lambda x: process_images(processor, x),
|
80 |
)
|
|
|
81 |
for batch_doc in tqdm(dataloader):
|
82 |
with torch.no_grad():
|
83 |
batch_doc = {k: v.to(device) for k, v in batch_doc.items()}
|