justin-zk commited on
Commit
429c56d
1 Parent(s): cdccdd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -486,7 +486,7 @@ main = gr.Interface(
486
  ]
487
  )
488
 
489
- """
490
  main_scribble = gr.Interface(
491
  fn=inference_scribble,
492
  inputs=[
@@ -508,7 +508,7 @@ main_scribble = gr.Interface(
508
  ["./examples/duck_toy_00.jpg", "./examples/duck_toy_01.jpg", "./examples/duck_toy_02.jpg"],
509
  ]
510
  )
511
- """
512
 
513
 
514
  main_finetune = gr.Interface(
@@ -536,10 +536,10 @@ main_finetune = gr.Interface(
536
  demo = gr.Blocks()
537
  with demo:
538
  gr.TabbedInterface(
539
- # [main, main_scribble, main_finetune],
540
- [main, main_finetune],
541
- ["Personalize-SAM", "Personalize-SAM-F"],
542
- # ["Personalize-SAM", "Personalize-SAM-Scribble", "Personalize-SAM-F"],
543
  )
544
 
545
  demo.launch(enable_queue=False)
 
486
  ]
487
  )
488
 
489
+
490
  main_scribble = gr.Interface(
491
  fn=inference_scribble,
492
  inputs=[
 
508
  ["./examples/duck_toy_00.jpg", "./examples/duck_toy_01.jpg", "./examples/duck_toy_02.jpg"],
509
  ]
510
  )
511
+
512
 
513
 
514
  main_finetune = gr.Interface(
 
536
  demo = gr.Blocks()
537
  with demo:
538
  gr.TabbedInterface(
539
+ [main, main_scribble, main_finetune],
540
+ # [main, main_finetune],
541
+ # ["Personalize-SAM", "Personalize-SAM-F"],
542
+ ["Personalize-SAM", "Personalize-SAM-Scribble", "Personalize-SAM-F"],
543
  )
544
 
545
  demo.launch(enable_queue=False)