Reputation: 39
Stream lit app using Palm API runs well on local. API key is set on .env file. But docker image shows API credential error while running.
API_KEY = os.environ.get('api_key')
import google.generativeai as palm
palm.configure(api_key=API_KEY)
Upvotes: 0
Views: 112