Bbmyy
Add MIGC and ReCo
a45f50c
raw
history blame
294 Bytes
def generate_image_b2i(self, prompt, grounding_instruction, bbox, model_name):
if model_name == "local_MIGC_b2i":
from model_bbox.MIGC.inference_single_image import inference_single_image
result = inference_single_image(prompt, grounding_instruction, bbox)
return result