Creating a caption for an image.
(input : str)
| 29 | return qa.run(input) |
| 30 | @tool.get("/get_imagecaption") |
| 31 | def imagecaption(input : str)-> str: |
| 32 | '''Creating a caption for an image. |
| 33 | ''' |
| 34 | ic = ImageCaptioningTool() |
| 35 | return ic.run(input) |
| 36 | @tool.get("/get_promptgenerator") |
| 37 | def promptgenerator(input : str)-> str: |
| 38 | '''Generating a prompt for stable diffusion and other image and video generators based on text input. |
nothing calls this directly
no test coverage detected