Stable-X commited on
Commit
8d68204
·
verified ·
1 Parent(s): fa9493b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -230,7 +230,7 @@ def process(
230
  pipe_list,
231
  path_input,
232
  ):
233
- names = ['DSINE', 'Marigold', 'GeoWizard', 'StableNormal']
234
 
235
  path_out_vis_list = []
236
  for pipe in pipe_list:
@@ -316,11 +316,6 @@ def run_demo_server(pipe):
316
  type="filepath",
317
  )
318
  with gr.Row():
319
- with gr.Column():
320
- geowizard_output_slider = gr.Image(
321
- label="Geowizard",
322
- type="filepath",
323
- )
324
  with gr.Column():
325
  Ours_slider = gr.Image(
326
  label="StableNormal",
@@ -330,7 +325,6 @@ def run_demo_server(pipe):
330
  outputs = [
331
  DSINE_output_slider,
332
  marigold_output_slider,
333
- geowizard_output_slider,
334
  Ours_slider,
335
  ]
336
 
@@ -375,7 +369,6 @@ def run_demo_server(pipe):
375
  submit_btn,
376
  input_image,
377
  marigold_output_slider,
378
- geowizard_output_slider,
379
  DSINE_output_slider,
380
  Ours_slider,
381
  ],
@@ -398,9 +391,9 @@ def main():
398
  marigold_pipe = Marigold()
399
  geowizard_pipe = Geowizard()
400
  our_pipe = StableNormal()
401
- yoso_pipe = YosoNormal()
402
 
403
- run_demo_server([dsine_pipe, marigold_pipe, geowizard_pipe, our_pipe, yoso_pipe])
 
404
 
405
 
406
  if __name__ == "__main__":
 
230
  pipe_list,
231
  path_input,
232
  ):
233
+ names = ['DSINE', 'Marigold', 'StableNormal']
234
 
235
  path_out_vis_list = []
236
  for pipe in pipe_list:
 
316
  type="filepath",
317
  )
318
  with gr.Row():
 
 
 
 
 
319
  with gr.Column():
320
  Ours_slider = gr.Image(
321
  label="StableNormal",
 
325
  outputs = [
326
  DSINE_output_slider,
327
  marigold_output_slider,
 
328
  Ours_slider,
329
  ]
330
 
 
369
  submit_btn,
370
  input_image,
371
  marigold_output_slider,
 
372
  DSINE_output_slider,
373
  Ours_slider,
374
  ],
 
391
  marigold_pipe = Marigold()
392
  geowizard_pipe = Geowizard()
393
  our_pipe = StableNormal()
 
394
 
395
+
396
+ run_demo_server([dsine_pipe, marigold_pipe, our_pipe])
397
 
398
 
399
  if __name__ == "__main__":