examples : fix typo in minigpt4.py (#2298)

promt -> prompt
This commit is contained in:
Ikko Eltociear Ashimine 2023-07-21 20:53:07 +09:00 committed by GitHub
parent 513f861953
commit 03e566977b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ class MiniGPT4(Blip2Base):
self.max_txt_len = max_txt_len self.max_txt_len = max_txt_len
self.end_sym = end_sym self.end_sym = end_sym
self.model = MyModel(["main", *args]) self.model = MyModel(["main", *args])
# system promt # system prompt
self.model.eval_string("Give the following image: <Img>ImageContent</Img>. " self.model.eval_string("Give the following image: <Img>ImageContent</Img>. "
"You will be able to see the image once I provide it to you. Please answer my questions." "You will be able to see the image once I provide it to you. Please answer my questions."
"###") "###")