Image-Text-to-Text
English

Update - small typo in readme

#3
by neonwatty - opened

A small typo update to the main python block beneath the line

You can load the model and perform inference as follows

The line defining the user prompt has a single quote (') on one end and a double (") on the other, causing the remainder of the code block to be wrongfully interpreted as a string.

The original line that needs correcting:

user_prompt = '<image>\nDescribe the image."

Updated with this PR to use double quotes at start and finish - like so

user_prompt = "<image>\nDescribe the image."

This fixes the wrongful interpretation of the remaining code as a string in the block.

weizhiwang changed pull request status to merged
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment