Neslihan commited on
Commit
1423648
β€’
1 Parent(s): 2d4e130

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,7 +41,8 @@ def dlc(im):
41
  dlc_live.init_inference(im)
42
  keypts = dlc_live.get_pose(im)
43
  plt.scatter(keypts[:,0], keypts[:,1], 40, color='cyan')
44
- plt.show()
 
45
 
46
  # %%
47
  #inputs = [image, chosen_model, size]
 
41
  dlc_live.init_inference(im)
42
  keypts = dlc_live.get_pose(im)
43
  plt.scatter(keypts[:,0], keypts[:,1], 40, color='cyan')
44
+ #return Image.fromarray(results.imgs[0])
45
+ return plt.show()
46
 
47
  # %%
48
  #inputs = [image, chosen_model, size]