lemonaddie commited on
Commit
2e913a7
·
verified ·
1 Parent(s): f6c674c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -85,7 +85,7 @@ def run_demo_server(pipe):
85
  ) as demo:
86
  gr.Markdown(
87
  """
88
- <h1 align="center">Geowizard Estimation</h1>
89
  """
90
  )
91
 
@@ -99,9 +99,9 @@ def run_demo_server(pipe):
99
  ensemble_size = gr.Slider(
100
  label="Ensemble size",
101
  minimum=1,
102
- maximum=20,
103
  step=1,
104
- value=10,
105
  )
106
  denoise_steps = gr.Slider(
107
  label="Number of denoising steps",
@@ -170,12 +170,8 @@ def run_demo_server(pipe):
170
  ]
171
 
172
  def submit_depth_fn(*args):
173
- print(111)
174
- print(args)
175
  out = list(process_pipe(*args))
176
- print(222)
177
  out = [gr.Button(interactive=False), gr.Image(interactive=False)] + out
178
- print(333)
179
  return out
180
 
181
  submit_btn.click(
@@ -219,7 +215,6 @@ def run_demo_server(pipe):
219
  inputs=[],
220
  outputs=blocks_settings + [
221
  submit_btn,
222
- #submit_3d,
223
  input_image,
224
  input_output_16bit,
225
  input_output_fp32,
 
85
  ) as demo:
86
  gr.Markdown(
87
  """
88
+ <h1 align="center">Geowizard Depth&Normal Estimation</h1>
89
  """
90
  )
91
 
 
99
  ensemble_size = gr.Slider(
100
  label="Ensemble size",
101
  minimum=1,
102
+ maximum=15,
103
  step=1,
104
+ value=1,
105
  )
106
  denoise_steps = gr.Slider(
107
  label="Number of denoising steps",
 
170
  ]
171
 
172
  def submit_depth_fn(*args):
 
 
173
  out = list(process_pipe(*args))
 
174
  out = [gr.Button(interactive=False), gr.Image(interactive=False)] + out
 
175
  return out
176
 
177
  submit_btn.click(
 
215
  inputs=[],
216
  outputs=blocks_settings + [
217
  submit_btn,
 
218
  input_image,
219
  input_output_16bit,
220
  input_output_fp32,