lemonaddie commited on
Commit
b1b258e
1 Parent(s): ecc4df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -23,13 +23,17 @@ def process(
23
  path_out_fp32=None,
24
  path_out_vis=None,
25
  ):
 
 
26
  if path_out_vis is not None:
27
  return (
28
  [path_out_16bit, path_out_vis],
29
  [path_out_16bit, path_out_fp32, path_out_vis],
30
  )
31
 
 
32
  input_image = Image.open(path_input)
 
33
 
34
  print('aaa')
35
  pipe_out = pipe(
@@ -172,6 +176,7 @@ def run_demo_server(pipe):
172
  ]
173
 
174
  def submit_depth_fn(*args):
 
175
  out = list(process_pipe(*args))
176
  out = [gr.Button(interactive=False), gr.Image(interactive=False)] + out
177
  return out
 
23
  path_out_fp32=None,
24
  path_out_vis=None,
25
  ):
26
+
27
+ print('4424')
28
  if path_out_vis is not None:
29
  return (
30
  [path_out_16bit, path_out_vis],
31
  [path_out_16bit, path_out_fp32, path_out_vis],
32
  )
33
 
34
+ print('44a4')
35
  input_image = Image.open(path_input)
36
+ print('55b5')
37
 
38
  print('aaa')
39
  pipe_out = pipe(
 
176
  ]
177
 
178
  def submit_depth_fn(*args):
179
+ print('args')
180
  out = list(process_pipe(*args))
181
  out = [gr.Button(interactive=False), gr.Image(interactive=False)] + out
182
  return out