Spaces:
Runtime error
Runtime error
Vision-CAIR
commited on
Commit
β’
d66bcec
1
Parent(s):
10b2592
Update minigpt4/models/mini_gpt4.py
Browse files
minigpt4/models/mini_gpt4.py
CHANGED
@@ -87,7 +87,7 @@ class MiniGPT4(Blip2Base):
|
|
87 |
print('Loading Q-Former Done')
|
88 |
|
89 |
print('Loading LLAMA')
|
90 |
-
print('API_token'
|
91 |
self.llama_tokenizer = LlamaTokenizer.from_pretrained('Vision-CAIR/vicuna-7b', use_fast=False, use_auth_token=os.environ["API_TOKEN"])
|
92 |
self.llama_tokenizer.pad_token = self.llama_tokenizer.eos_token
|
93 |
|
|
|
87 |
print('Loading Q-Former Done')
|
88 |
|
89 |
print('Loading LLAMA')
|
90 |
+
print('API_token:', os.environ["API_TOKEN"])
|
91 |
self.llama_tokenizer = LlamaTokenizer.from_pretrained('Vision-CAIR/vicuna-7b', use_fast=False, use_auth_token=os.environ["API_TOKEN"])
|
92 |
self.llama_tokenizer.pad_token = self.llama_tokenizer.eos_token
|
93 |
|