Spaces:
Runtime error
Runtime error
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 |