Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -80,6 +80,7 @@ def query(image, texts):
|
|
80 |
target_sizes = torch.Tensor([image.shape[:-1]])
|
81 |
|
82 |
results = processor.post_process_object_detection(outputs=outputs, threshold=0.3, target_sizes=target_sizes)
|
|
|
83 |
return results
|
84 |
|
85 |
|
|
|
80 |
target_sizes = torch.Tensor([image.shape[:-1]])
|
81 |
|
82 |
results = processor.post_process_object_detection(outputs=outputs, threshold=0.3, target_sizes=target_sizes)
|
83 |
+
print("results", results)
|
84 |
return results
|
85 |
|
86 |
|