Rodrigo_Cobo commited on
Commit
4edfa31
1 Parent(s): 82346e7

fix depth output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def calculate_depth(model_type, gan_type, dim, slider, img):
66
  path_video = os.path.join(os.path.dirname(__file__), 'WiggleResults' , name_output + '_0.mp4')
67
  print(path_video)
68
 
69
- return [img,f'WiggleResults/' + name_output + '_0.gif', path_video, f'WiggleResults/'+ name_output + '.jpg']
70
 
71
 
72
  with gr.Blocks() as demo:
 
66
  path_video = os.path.join(os.path.dirname(__file__), 'WiggleResults' , name_output + '_0.mp4')
67
  print(path_video)
68
 
69
+ return [out_im,f'WiggleResults/' + name_output + '_0.gif', path_video, f'WiggleResults/'+ name_output + '.jpg']
70
 
71
 
72
  with gr.Blocks() as demo: