Spaces:
Running
on
Zero
Running
on
Zero
Update gradio_utils/utils.py
Browse files- gradio_utils/utils.py +1 -1
gradio_utils/utils.py
CHANGED
@@ -112,7 +112,7 @@ def plot_results(support_img, query_img, support_kp, support_w, query_kp, query_
|
|
112 |
def estimate(model, data):
|
113 |
model.cuda()
|
114 |
with torch.no_grad():
|
115 |
-
return model(data)
|
116 |
|
117 |
def process(query_img, state,
|
118 |
cfg_path='configs/test/1shot_split1.py',
|
|
|
112 |
def estimate(model, data):
|
113 |
model.cuda()
|
114 |
with torch.no_grad():
|
115 |
+
return model(**data)
|
116 |
|
117 |
def process(query_img, state,
|
118 |
cfg_path='configs/test/1shot_split1.py',
|