(self, response)
| 27 | self.control_prompts = "As a text reviser, you will convert an image description into a new sentence or long paragraph. The new text is {prompts}. {long_prompts} The sentence is \"{query}\" (give me the revised sentence only)" |
| 28 | |
| 29 | def parse(self, response): |
| 30 | out = response.strip() |
| 31 | return out |
| 32 | |
| 33 | def parse2(self, response): |
| 34 | out = response.strip() |