You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of libs | imports not included
e.g. # ! pip install sentencepiece
#! pip install transformers
! pip install gpt_index
And the code insists on openai_api_key
but no matter how I try to set this VAR, the code complains that the openai_api_key doesn't exist.
reciept reader code complains for a long time:
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
I tried with
OPENAI_API_KEY="sk-XXX"
and
openai_api_key="sk-XXX"
both failed with
Did not find openai_api_key, please add an environment variable OPENAI_API_KEY which contains it, or pass openai_api_key as a named parameter. (type=value_error)
The text was updated successfully, but these errors were encountered:
There are a number of libs | imports not included
e.g. # ! pip install sentencepiece
#! pip install transformers
! pip install gpt_index
And the code insists on openai_api_key
but no matter how I try to set this VAR, the code complains that the openai_api_key doesn't exist.
reciept reader code complains for a long time:
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
I tried with
OPENAI_API_KEY="sk-XXX"
and
openai_api_key="sk-XXX"
both failed with
Did not find openai_api_key, please add an environment variable
OPENAI_API_KEY
which contains it, or passopenai_api_key
as a named parameter. (type=value_error)The text was updated successfully, but these errors were encountered: