Spaces:
Configuration error
Configuration error
File size: 552 Bytes
27a8994 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Image Summerizer
from utils.helper import Summarizer
prompt_template = """Describe the image in detail. For context,
the image is part of a research paper.
Be specific about graphs, such as bar plots."""
def Image_Summerizer(prompt_template =prompt_template,data=None):
try:
images_summary = Summarizer(prompt_template=prompt_template,data=data,config=False,set_messages=True)
return images_summary
except Exception as e:
pass
if __name__ == "__main__":
pass |