JackAILab commited on
Commit
6e291eb
1 Parent(s): 278acb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,7 +15,7 @@ from llava.mm_utils import get_model_name_from_path
15
  from llava.eval.run_llava import eval_model
16
 
17
  # Load Lava for prompt enhancement
18
- llva_model_path = "llava-v1.5-7b" #TODO
19
  llva_tokenizer, llva_model, llva_image_processor, llva_context_len = load_pretrained_model(
20
  model_path=llva_model_path,
21
  model_base=None,
@@ -50,8 +50,8 @@ def Enhance_prompt(prompt,select_images):
50
  script_directory = os.path.dirname(os.path.realpath(__file__))
51
  device = "cuda"
52
  # TODO
53
- base_model_path = "Realistic_Vision_V6.0_B1_noVAE" # TODO
54
- consistentID_path = "ConsistentID" # TODO
55
 
56
  ### Load base model
57
  pipe = ConsistentIDStableDiffusionPipeline.from_pretrained(
 
15
  from llava.eval.run_llava import eval_model
16
 
17
  # Load Lava for prompt enhancement
18
+ llva_model_path = "llava-hf/llava-1.5-7b-hf" #TODO
19
  llva_tokenizer, llva_model, llva_image_processor, llva_context_len = load_pretrained_model(
20
  model_path=llva_model_path,
21
  model_base=None,
 
50
  script_directory = os.path.dirname(os.path.realpath(__file__))
51
  device = "cuda"
52
  # TODO
53
+ base_model_path = "SG161222/Realistic_Vision_V6.0_B1_noVAE" # TODO
54
+ consistentID_path = "JackAILab/ConsistentID" # TODO
55
 
56
  ### Load base model
57
  pipe = ConsistentIDStableDiffusionPipeline.from_pretrained(