Views
No views yet
Salesforce/blip-image-captioning-base under the hood and is optimized for use with Streamlit.Upload an image of a mountain and get a prompt like:
“A scenic view of snowy mountains under a clear blue sky.”
1from model import ImagePromptModel
2
3model = ImagePromptModel()
4result = model.generate_prompt("your_image.jpg")
5print(result)