Nitpick on practical usage script
#2
by
JLouisBiz
- opened
# default will have streaming
model.generate('what is this?', 'images/cats.jpg', stream=True)
>>> model.generate('what is this?', '/home/data1/protected/Downloads/Large-Scale-Gold-Washing-Plant-for-Alluvial-Gold-Mining.jpg',stream=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: VLInfer.generate() got an unexpected keyword argument 'stream'
Maybe you remove the stream argument from Model Card?
And what if I do not want streaming? How to do?