(self, prompt)
| 1208 | return BLIP_caption |
| 1209 | |
| 1210 | def check_prompt(self, prompt): |
| 1211 | check = f"Here is a paragraph with adjectives. " \ |
| 1212 | f"{prompt} " \ |
| 1213 | f"Please change all plural forms in the adjectives to singular forms. " |
| 1214 | return self.llm(check) |
| 1215 | |
| 1216 | def get_imagine_caption(self, image, imagine): |
| 1217 | BLIP_caption = self.get_BLIP_caption(image) |
no outgoing calls
no test coverage detected