orhir commited on
Commit
cfd2d4a
·
verified ·
1 Parent(s): 225166a

Update gradio_utils/utils.py

Browse files
Files changed (1) hide show
  1. 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',