Skip to content

Praneeth2711/Flavour-Fusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flavour-Fusion

A Streamlit app that uses the Google Gemini API to generate recipe blog posts.

Environment Variables

The application requires a Google API key for Gemini. The key should never be committed to version control.

  1. Create a file named .env in the project root (see .env.example).
  2. Add your key:
    GOOGLE_API_KEY=your_real_key_here
  3. The repo already ignores .env via .gitignore.

GitHub

  • Use repository Secrets (Settings → Secrets & variables → Actions) to store GOOGLE_API_KEY.
  • Workflows can reference it as ${{ secrets.GOOGLE_API_KEY }}.
  • If the key was ever pushed, rotate it immediately and remove it from history with git filter-repo.

Vercel

  1. Open your project on Vercel.
  2. Go to Settings → Environment Variables.
  3. Add GOOGLE_API_KEY with the secret value for the relevant environment (Production/Preview/Development).

The code uses python-dotenv to load .env during local development and os.getenv("GOOGLE_API_KEY") at runtime.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages