shgao commited on
Commit
3ba97eb
β€’
1 Parent(s): bc1676d
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -45,13 +45,13 @@ with gr.Blocks() as demo:
45
  lora_weight=0.5,
46
  )
47
  create_demo_beauty(model.process)
48
- with gr.TabItem(' πŸ‘¨β€πŸŒΎHandsome Edit/Generation'):
49
- model = EditAnythingLoraModel(base_model_path=os.path.join(sd_models_path, "Realistic_Vision_V2.0"),
50
- lora_model_path=None, use_blip=True, extra_inpaint=True,
51
- sam_generator=sam_generator,
52
- blip_processor=blip_processor,
53
- blip_model=blip_model)
54
- create_demo_handsome(model.process)
55
  # with gr.TabItem('Generate Anything'):
56
  # create_demo_generate_anything()
57
  with gr.Tabs():
 
45
  lora_weight=0.5,
46
  )
47
  create_demo_beauty(model.process)
48
+ # with gr.TabItem(' πŸ‘¨β€πŸŒΎHandsome Edit/Generation'):
49
+ # model = EditAnythingLoraModel(base_model_path=os.path.join(sd_models_path, "Realistic_Vision_V2.0"),
50
+ # lora_model_path=None, use_blip=True, extra_inpaint=True,
51
+ # sam_generator=sam_generator,
52
+ # blip_processor=blip_processor,
53
+ # blip_model=blip_model)
54
+ # create_demo_handsome(model.process)
55
  # with gr.TabItem('Generate Anything'):
56
  # create_demo_generate_anything()
57
  with gr.Tabs():