Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The .env seems not used. #2

Open
doggy8088 opened this issue May 12, 2024 · 0 comments · May be fixed by #4
Open

The .env seems not used. #2

doggy8088 opened this issue May 12, 2024 · 0 comments · May be fixed by #4

Comments

@doggy8088
Copy link

In Line 17 of the app.py file, the GOOGLE_API_KEY="" has been hard coded with an empty string.

# WARNING: Do not share code with you API key hard coded in it.
# Get your Gemini API key from: https://aistudio.google.com/app/apikey
GOOGLE_API_KEY=""

In your README.md, you said cp .env.example .env to have a .env file.

I don't understand how to load .env by this app?

tnvmadhav referenced this issue in tnvmadhav/gemini-api-quickstart May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant